Created
March 26, 2013 21:54
-
-
Save dimacus/5249668 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Change private to protected | |
protected UrlMapper getUrlMapper(String method) { | |
if ("DELETE".equals(method)) { | |
return deleteMapper; | |
} else if ("GET".equals(method)) { | |
return getMapper; | |
} else if ("POST".equals(method)) { | |
return postMapper; | |
} else { | |
throw new IllegalArgumentException("Unknown method: " + method); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reason for changing the getUrlMapper to protected is to allow me to write a plugin that will add custom end points to the selenium grid, which would allow me to stabilize my build on IE