Skip to content

Commit

Permalink
[JENKINS-47574] - Fix the comparison logic
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Oct 22, 2017
1 parent cb7ba5a commit a5da0e1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -162,7 +162,7 @@ public String transformEntry(String key, String value) {
@SuppressFBWarnings(value = "RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE",
justification = "JENKINS-47574 - parent may be null during readResolve()")
private static boolean runHasNoParent(@Nonnull Run<?,?> run) {
return run.getParent() != null;
return run.getParent() == null;
}

@CheckForNull
Expand Down

0 comments on commit a5da0e1

Please sign in to comment.