Simplify boolean expressions
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / client / http / perf / Parameters.java
index 2f4bf0334f6b7a27f74ac019c87fa0438637ab22..4814940f33c427ccc4b7ec40292da9ab652a8a02 100644 (file)
@@ -141,7 +141,7 @@ public class Parameters {
         Preconditions.checkArgument(timeout > 0, "Timeout =< 0");
 
         Preconditions.checkArgument(editContent.exists(), "Edit content file missing");
-        Preconditions.checkArgument(editContent.isDirectory() == false, "Edit content file is a dir");
+        Preconditions.checkArgument(!editContent.isDirectory(), "Edit content file is a dir");
         Preconditions.checkArgument(editContent.canRead(), "Edit content file is unreadable");
 
         Preconditions.checkArgument(destination.startsWith("/"), "Destination should start with a '/'");