Skip to content
Permalink
Browse files

[JENKINS-15497] Fixing incorrect if, where we were comparing the valu…

…e with

the key name, while we should use the key value instead.
  • Loading branch information...
kinow committed Oct 16, 2012
1 parent 5b7a894 commit 15d48ef54b7aa44aa9d69c7fe957904888251d93
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/tap4j/plugin/TapResult.java
@@ -325,7 +325,7 @@ private String recursivelySearch(Map<String, Object> diagnostics, String parentK
o = diagnostics.get("File-content");
if(o != null && o instanceof String)
return (String)o;
} else if(diagnosticKey.equalsIgnoreCase("file-name") && diagnosticKey.equals(key)) {
} else if(diagnosticKey.equalsIgnoreCase("file-name") && value.equals(key)) {
Object o = diagnostics.get("File-Content");
if(o == null)
o = diagnostics.get("File-content");

0 comments on commit 15d48ef

Please sign in to comment.
You can’t perform that action at this time.