Skip to content
Permalink
Browse files
[FIXED JENKINS-43856] Restore binary compatibility with pre-2.6 releases
  • Loading branch information
abayer committed Apr 26, 2017
1 parent ab59e21 commit b29125bdea8cbaafacf5df59839e109840d5a9e2
@@ -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.
*/

0 comments on commit b29125b

Please sign in to comment.