| Author | Dave Jarvis <email> |
|---|---|
| Date | 2015-01-23 00:40:29 GMT-0800 |
| Commit | 47f4b9b80590f5ae8caa63b67c3653557eb73d1f |
| Parent | fc4e392 |
| return getClass().getSimpleName().toLowerCase(); | ||
| } | ||
| + | ||
| + /** | ||
| + * Returns the value of the given parameter, or the empty string if no | ||
| + * such parameter exists. | ||
| + * | ||
| + * @return A non-null string. | ||
| + */ | ||
| + protected String getParameter( HttpServletRequest request, String param ) { | ||
| + String result = request.getParameter( param ); | ||
| + return result == null ? "" : result; | ||
| + } | ||
| } | ||
| return getParameter( request, "password" ); | ||
| } | ||
| - | ||
| - /** | ||
| - * Returns the value of the given parameter, or the empty string if no | ||
| - * such parameter exists. | ||
| - * | ||
| - * @return A non-null string. | ||
| - */ | ||
| - protected String getParameter( HttpServletRequest request, String param ) { | ||
| - String result = request.getParameter( param ); | ||
| - return result == null ? "" : result; | ||
| - } | ||
| } | ||
| Delta | 11 lines added, 11 lines removed |
|---|