Skip to content

Commit

Permalink
[Ref JENKINS-8743] Fixed NPE when 'params' is missing from request
Browse files Browse the repository at this point in the history
  • Loading branch information
swestcott committed May 10, 2011
1 parent bf6008d commit 23fbd93
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -49,6 +49,10 @@ public BulkParamProcessor(String params) {
* @return
*/
public Map<String, String> getProjectParams() {
if (rawParams == null) {
return null;
}

StringTokenizer tokeniser = new StringTokenizer(rawParams, "&");

Map<String, String> values = new HashMap<String, String>(tokeniser.countTokens());
Expand Down

0 comments on commit 23fbd93

Please sign in to comment.