Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-43856] Restore binary compatibility with pre-2.6 releases
  • Loading branch information
abayer committed Apr 26, 2017
1 parent ab59e21 commit b29125b
Showing 1 changed file with 13 additions and 0 deletions.
Expand Up @@ -193,6 +193,19 @@ public HttpResponse proceed(@CheckForNull Map<String,Object> params) {
return HttpResponses.ok();
}

@Deprecated
@SuppressWarnings("unchecked")
public HttpResponse proceed(Object v) {
Map<String,Object> params = new HashMap<>();
if (v instanceof Map) {
params.putAll((Map)v);
} else {
params.put("parameter", v);
}

return proceed(params);
}

/**
* Used from the Proceed hyperlink when no parameters are defined.
*/
Expand Down

0 comments on commit b29125b

Please sign in to comment.