Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7194

Fix findbugs "inefficient new String constructor" warning in DFSClient#PATH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.7.0
    • None
    • None

    Description

      In recent PreCommit-HDFS-Build, 8325, 8324, 8323 etc, there is a findbugs warning:

      Code	Warning
      Dm	org.apache.hadoop.hdfs.DFSClient.<static initializer for DFSClient>() invokes inefficient new String(String) constructor
      

      Attachments

        1. HDFS-7194.002.patch
          0.9 kB
          Yongjun Zhang
        2. HDFS-7194.001.patch
          2 kB
          Yongjun Zhang

        Issue Links

          Activity

            People

              yzhangal Yongjun Zhang
              yzhangal Yongjun Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: