Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
None
-
Reviewed
Description
Fix some miscellaneous findbugs 2 warnings:
- Switch statements missing default cases
- Using \n instead of %n in format methods
- A socket close that should use IOUtils#closeSocket that we missed
- A use of SimpleDateFormat that is not threadsafe
- In ReplicaInputStreams it's not clear that we always close the streams we allocate, moving the stream creation into the class where we close them makes that more obvious
- A couple missing null checks