Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-20359]: Initialize results properly to get content ins…
…pection to work
  • Loading branch information
gregordickie committed Nov 28, 2013
1 parent cfaaaaf commit 8f415c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -18,7 +18,7 @@
*/
public class JSONContentType extends URLTriggerContentType {

private transient Map<String, Object> results = new HashMap<String, Object>();
private transient Map<String, Object> results = null;

private List<JSONContentEntry> jsonPaths = new ArrayList<JSONContentEntry>();

Expand Down
Expand Up @@ -26,7 +26,7 @@
*/
public class XMLContentType extends URLTriggerContentType {

private transient Map<String, Object> results = new HashMap<String, Object>();
private transient Map<String, Object> results = null;

private transient Document xmlDocument;

Expand Down

0 comments on commit 8f415c2

Please sign in to comment.