Skip to content

Commit

Permalink
FindBugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Feb 21, 2018
1 parent e617d81 commit 836a784
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

Expand Down Expand Up @@ -102,7 +103,7 @@ public boolean isSelectable(Run<?,?> run, EnvVars env) {
}
}
for (StringParameterValue spv : filters) {
if (!spv.getValue().equals(otherEnv.get(spv.getName()))) {
if (!Objects.equals(spv.getValue(), otherEnv.get(spv.getName()))) {
return false;
}
}
Expand Down

0 comments on commit 836a784

Please sign in to comment.