SEC-1425: Replace use of Java 1.6 String.isEmpty().

This commit is contained in:
Luke Taylor 2010-03-01 13:49:42 +00:00
parent e5a875d752
commit ae8027fa47
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public abstract class AbstractRememberMeServices implements RememberMeServices,
logger.debug("Remember-me cookie detected"); logger.debug("Remember-me cookie detected");
if (rememberMeCookie.isEmpty()) { if (rememberMeCookie.length() == 0) {
logger.debug("Cookie was empty"); logger.debug("Cookie was empty");
cancelCookie(request, response); cancelCookie(request, response);
return null; return null;