SEC-1425: Replace use of Java 1.6 String.isEmpty().
This commit is contained in:
parent
e5a875d752
commit
ae8027fa47
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue