Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 268A0179A0 for ; Tue, 31 Mar 2015 09:07:22 +0000 (UTC) Received: (qmail 25890 invoked by uid 500); 31 Mar 2015 09:07:09 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 25815 invoked by uid 500); 31 Mar 2015 09:07:09 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 25805 invoked by uid 99); 31 Mar 2015 09:07:09 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2015 09:07:09 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id ED99BAC013F for ; Tue, 31 Mar 2015 09:07:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1670286 - /tomcat/trunk/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java Date: Tue, 31 Mar 2015 09:07:08 -0000 To: dev@tomcat.apache.org From: markt@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150331090708.ED99BAC013F@hades.apache.org> Author: markt Date: Tue Mar 31 09:07:08 2015 New Revision: 1670286 URL: http://svn.apache.org/r1670286 Log: Longer lines to improve readability Modified: tomcat/trunk/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java Modified: tomcat/trunk/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java?rev=1670286&r1=1670285&r2=1670286&view=diff ============================================================================== --- tomcat/trunk/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java (original) +++ tomcat/trunk/java/javax/servlet/jsp/el/ScopedAttributeELResolver.java Tue Mar 31 09:07:08 2015 @@ -51,8 +51,7 @@ public class ScopedAttributeELResolver e context.setPropertyResolved(base, property); if (property != null) { String key = property.toString(); - PageContext page = (PageContext) context - .getContext(JspContext.class); + PageContext page = (PageContext) context.getContext(JspContext.class); result = page.findAttribute(key); if (result == null) { @@ -86,8 +85,7 @@ public class ScopedAttributeELResolver e } @Override - public Class getType(ELContext context, Object base, - Object property) { + public Class getType(ELContext context, Object base, Object property) { if (context == null) { throw new NullPointerException(); } @@ -101,8 +99,7 @@ public class ScopedAttributeELResolver e } @Override - public void setValue(ELContext context, Object base, Object property, - Object value) { + public void setValue(ELContext context, Object base, Object property, Object value) { if (context == null) { throw new NullPointerException(); } @@ -111,8 +108,7 @@ public class ScopedAttributeELResolver e context.setPropertyResolved(base, property); if (property != null) { String key = property.toString(); - PageContext page = (PageContext) context - .getContext(JspContext.class); + PageContext page = (PageContext) context.getContext(JspContext.class); int scope = page.getAttributesScope(key); if (scope != 0) { page.setAttribute(key, value, scope); @@ -137,8 +133,7 @@ public class ScopedAttributeELResolver e } @Override - public Iterator getFeatureDescriptors(ELContext context, - Object base) { + public Iterator getFeatureDescriptors(ELContext context, Object base) { PageContext ctxt = (PageContext) context.getContext(JspContext.class); List list = new ArrayList<>(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org