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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: