Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Nullcheck of ret at line 2696 of value previously dereferenced in org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameTo(String, String, boolean) Bug type RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE (click for details) In class org.apache.hadoop.hdfs.server.namenode.FSNamesystem In method org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renameTo(String, String, boolean) Value loaded from ret Return value of org.apache.hadoop.hdfs.server.namenode.FSDirRenameOp.renameToInt(FSDirectory, String, String, boolean) of type org.apache.hadoop.hdfs.server.namenode.FSDirRenameOp$RenameResult At FSNamesystem.java:[line 2696] Redundant null check at FSNamesystem.java:[line 2700]