Description
public void setZoneName(final String name) { Preconditions.checkNotNull(name == null)-------error parameter for checkNotNull zoneName = name; }
Like above, in 3.x, the checkNotNull function gets wrong parameter in two cases: ZoneReencryptionStatus#setZoneName and AdminHelper#HelpCommand#HelpCommand
In 2.x, the error occurs once in AdminHelper#HelpCommand#HelpCommand
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-12309 Incorrect null check in the AdminHelper.java
- Resolved