@QueryParameter no longer needs the value if it's the same as the parameter name.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12848 71c3de6d-444a-0410-be80-ed276b4c234a

Originally-Committed-As: e9332376a3270787503f3bc53bb52b2f31928f48
This commit is contained in:
kohsuke 2008-10-30 17:51:37 +00:00
parent 8140bcdc19
commit 66f8aacfb5

View file

@ -244,9 +244,9 @@ public class LDAPSecurityRealm extends SecurityRealm {
return Messages.LDAPSecurityRealm_DisplayName();
}
public void doServerCheck(StaplerRequest req, StaplerResponse rsp, @QueryParameter("server") final String server,
@QueryParameter("managerDN") final String managerDN,
@QueryParameter("managerPassword") final String managerPassword
public void doServerCheck(StaplerRequest req, StaplerResponse rsp, @QueryParameter final String server,
@QueryParameter final String managerDN,
@QueryParameter final String managerPassword
) throws IOException, ServletException {
new FormFieldValidator(req,rsp,true) {
protected void check() throws IOException, ServletException {