Closed AlvinKuruvilla closed 2 years ago
We should use try-with-resources
from Java, to auto-close instances. However, in this case the close
-method is also a noop ;-) But if you like you could rewrite it to use try (...) { ... }
instead.
Ah okay that's a new pattern for me. I will make a new PR fixing it
There were some warnings about a potential resource leak when using the StringSerializer class. This was due to forgetting to call
close()
after using the serializer.