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

Fix findbug warning in org.apache.hadoop.hdfs.web.resources.OffsetParam.getOffset()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      	
      Bug type DM_NUMBER_CTOR (click for details) 
      In class org.apache.hadoop.hdfs.web.resources.OffsetParam
      In method org.apache.hadoop.hdfs.web.resources.OffsetParam.getOffset()
      Called method new Long(long)
      Should call Long.valueOf(long) instead
      At OffsetParam.java:[line 52]
      

      https://builds.apache.org/job/PreCommit-HDFS-Build/9767//artifact/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brahmareddy Brahma Reddy Battula
                Reporter:
                brahmareddy Brahma Reddy Battula
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: