diff --git a/appserver/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/BaseHASession.java b/appserver/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/BaseHASession.java index 4991bd3657e..80dbc3c975e 100644 --- a/appserver/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/BaseHASession.java +++ b/appserver/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/BaseHASession.java @@ -236,10 +236,10 @@ private CharSequence superToString() { sb.append("isValid:").append(getIsValid()); if (getIsValid()) { - Enumeration attrNamesEnum = getAttributeNamesInternal(); + final Enumeration attrNamesEnum = getAttributeNamesInternal(); while(attrNamesEnum.hasMoreElements()) { - String nextAttrName = attrNamesEnum.nextElement(); - Object nextAttrValue = getAttributeInternal(nextAttrName); + final String nextAttrName = attrNamesEnum.nextElement(); + final Object nextAttrValue = getAttributeInternal(nextAttrName); sb.append("\n"); sb.append("attrName = ").append(nextAttrName); sb.append(" : attrValue = ").append(nextAttrValue);