XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.3-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

      Attachments

        1. hdfs-4033.txt
          14 kB
          Eli Collins
        2. hdfs-4033.txt
          14 kB
          Eli Collins

        Activity

          People

            eli Eli Collins
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: