We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1366fa9 commit 320d93aCopy full SHA for 320d93a
core/src/main/java/hudson/model/Result.java
@@ -169,7 +169,8 @@ public boolean isCompleteBuild() {
169
return name;
170
}
171
172
- public static @NonNull Result fromString(@NonNull String s) {
+ public static @NonNull Result fromString(String s) {
173
+ if (s == null) return FAILURE;
174
for (Result r : all)
175
if (s.equalsIgnoreCase(r.name))
176
return r;
0 commit comments