myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: cosmetics
Date Fri, 23 Nov 2018 11:01:51 GMT
This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/master by this push:
     new b7bd951  cosmetics
b7bd951 is described below

commit b7bd95134c77378eca0584de9c261c531b76841e
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Fri Nov 23 12:01:37 2018 +0100

    cosmetics
---
 .../renderkit/html/HtmlTableRendererBase.java      |  1 +
 .../facelets/tag/BaseMultipleTagDecorator.java     |  1 +
 .../view/facelets/tag/BaseTagDecorator.java        |  1 +
 .../view/facelets/tag/BeanPropertyTagRule.java     |  3 +++
 .../tag/ComponentTagDeclarationLibrary.java        | 26 ++++++++++------------
 .../view/facelets/tag/CompositeTagDecorator.java   |  1 +
 .../view/facelets/tag/CompositeTagLibrary.java     |  5 +++++
 .../view/facelets/tag/LegacyUserTagHandler.java    |  4 ++--
 .../myfaces/view/facelets/tag/MetaRulesetImpl.java | 12 +++++-----
 .../view/facelets/tag/MetaTagHandlerImpl.java      |  1 +
 .../myfaces/view/facelets/tag/MetadataImpl.java    |  2 +-
 .../view/facelets/tag/MetadataTargetImpl.java      |  7 +++++-
 .../myfaces/view/facelets/tag/MethodRule.java      |  7 ++----
 .../view/facelets/tag/TagAttributeImpl.java        | 22 ++++++++++++------
 .../view/facelets/tag/TagAttributesImpl.java       |  7 ++++--
 .../myfaces/view/facelets/tag/UserTagHandler.java  |  2 --
 16 files changed, 62 insertions(+), 40 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
b/impl/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
index 2ea022e..edbceda 100644
--- a/impl/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
+++ b/impl/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
@@ -1428,6 +1428,7 @@ public class HtmlTableRendererBase extends HtmlRenderer
         }
     }
 
+    @Override
     public void decode(FacesContext context, UIComponent component)
     {
         super.decode(context, component);
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BaseMultipleTagDecorator.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BaseMultipleTagDecorator.java
index 0c95b9d..6ec8de7 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BaseMultipleTagDecorator.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BaseMultipleTagDecorator.java
@@ -37,6 +37,7 @@ public class BaseMultipleTagDecorator implements TagDecorator
         this.compositeTagDecorator = normalTagDecorator;
     }
     
+    @Override
     public Tag decorate(Tag tag)
     {
         // The default tag decorator is special, because a non null return value does not
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BaseTagDecorator.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BaseTagDecorator.java
index bd92130..b26d7e4 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BaseTagDecorator.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BaseTagDecorator.java
@@ -34,6 +34,7 @@ public class BaseTagDecorator implements TagDecorator
         this.defaultTagDecorator = defaultTagDecorator;
     }
 
+    @Override
     public Tag decorate(Tag tag)
     {
         Tag processedTag = defaultTagDecorator.decorate(tag);
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BeanPropertyTagRule.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BeanPropertyTagRule.java
index b5c8cc5..d578d70 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BeanPropertyTagRule.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/BeanPropertyTagRule.java
@@ -37,6 +37,7 @@ public final class BeanPropertyTagRule extends MetaRule
 {
     public final static BeanPropertyTagRule INSTANCE = new BeanPropertyTagRule();
 
+    @Override
     public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget meta)
     {
         Method m = meta.getWriteMethod(name);
@@ -72,6 +73,7 @@ public final class BeanPropertyTagRule extends MetaRule
             this.attribute = attribute;
         }
 
+        @Override
         public void applyMetadata(FaceletContext ctx, Object instance)
         {
             if (value == null)
@@ -111,6 +113,7 @@ public final class BeanPropertyTagRule extends MetaRule
             this.attribute = attribute;
         }
 
+        @Override
         public void applyMetadata(FaceletContext ctx, Object instance)
         {
             try
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ComponentTagDeclarationLibrary.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ComponentTagDeclarationLibrary.java
index c4c8faa..db077fe 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ComponentTagDeclarationLibrary.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/ComponentTagDeclarationLibrary.java
@@ -50,6 +50,7 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
      * 
      * See org.apache.myfaces.view.facelets.tag.TagLibrary#containsNamespace(java.lang.String)
      */
+    @Override
     public boolean containsNamespace(String ns)
     {
         return _factories.containsKey(ns);
@@ -60,6 +61,7 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
      * 
      * See org.apache.myfaces.view.facelets.tag.TagLibrary#containsTagHandler(java.lang.String,
java.lang.String)
      */
+    @Override
     public boolean containsTagHandler(String ns, String localName)
     {
         if (containsNamespace(ns))
@@ -83,6 +85,7 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
      * See org.apache.myfaces.view.facelets.tag.TagLibrary#createTagHandler(java.lang.String,
java.lang.String,
      * org.apache.myfaces.view.facelets.tag.TagConfig)
      */
+    @Override
     public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws
FacesException
     {
         if (containsNamespace(ns))
@@ -108,6 +111,7 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
      * 
      * See org.apache.myfaces.view.facelets.tag.TagLibrary#containsFunction(java.lang.String,
java.lang.String)
      */
+    @Override
     public boolean containsFunction(String ns, String name)
     {
         return false;
@@ -118,17 +122,12 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
      * 
      * See org.apache.myfaces.view.facelets.tag.TagLibrary#createFunction(java.lang.String,
java.lang.String)
      */
+    @Override
     public Method createFunction(String ns, String name)
     {
         return null;
     }
 
-    /*
-    public String getNamespace()
-    {
-        return _namespace;
-    }*/
-
     /**
      * Add a ComponentHandler with the specified componentType and rendererType, aliased
by the tag name.
      * 
@@ -180,11 +179,8 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
 
     private static class ComponentConfigWrapper implements ComponentConfig
     {
-
         protected final TagConfig parent;
-
         protected final String componentType;
-
         protected final String rendererType;
 
         public ComponentConfigWrapper(TagConfig parent, String componentType, String rendererType)
@@ -194,26 +190,31 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
             this.rendererType = rendererType;
         }
 
+        @Override
         public String getComponentType()
         {
             return this.componentType;
         }
 
+        @Override
         public String getRendererType()
         {
             return this.rendererType;
         }
 
+        @Override
         public FaceletHandler getNextHandler()
         {
             return this.parent.getNextHandler();
         }
 
+        @Override
         public Tag getTag()
         {
             return this.parent.getTag();
         }
 
+        @Override
         public String getTagId()
         {
             return this.parent.getTagId();
@@ -222,9 +223,7 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
 
     private static class ComponentHandlerFactory implements TagHandlerFactory
     {
-
         protected final String componentType;
-
         protected final String renderType;
 
         /**
@@ -236,6 +235,7 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
             this.renderType = renderType;
         }
 
+        @Override
         public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException
         {
             ComponentConfig ccfg = new ComponentConfigWrapper(cfg, this.componentType, this.renderType);
@@ -249,11 +249,8 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
         private final static Class<?>[] CONS_SIG = new Class[] { ComponentConfig.class
};
 
         protected final String componentType;
-
         protected final String renderType;
-
         protected final Class<? extends TagHandler> type;
-
         protected final Constructor<? extends TagHandler> constructor;
 
         /**
@@ -274,6 +271,7 @@ public class ComponentTagDeclarationLibrary implements TagLibrary
             }
         }
 
+        @Override
         public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException
         {
             try
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagDecorator.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagDecorator.java
index febf81a..fe34945 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagDecorator.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagDecorator.java
@@ -46,6 +46,7 @@ public final class CompositeTagDecorator implements TagDecorator
      * 
      * @see javax.faces.view.facelets.TagDecorator#decorate(javax.faces.view.facelets.Tag)
      */
+    @Override
     public Tag decorate(Tag tag)
     {
         Tag t = null;
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagLibrary.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagLibrary.java
index 871c451..8744519 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagLibrary.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagLibrary.java
@@ -48,6 +48,7 @@ public final class CompositeTagLibrary implements TagLibrary
      * 
      * @see org.apache.myfaces.view.facelets.tag.TagLibrary#containsNamespace(java.lang.String)
      */
+    @Override
     public boolean containsNamespace(String ns)
     {
         for (int i = 0; i < this.libraries.length; i++)
@@ -65,6 +66,7 @@ public final class CompositeTagLibrary implements TagLibrary
      * 
      * @see org.apache.myfaces.view.facelets.tag.TagLibrary#containsTagHandler(java.lang.String,
java.lang.String)
      */
+    @Override
     public boolean containsTagHandler(String ns, String localName)
     {
         for (int i = 0; i < this.libraries.length; i++)
@@ -83,6 +85,7 @@ public final class CompositeTagLibrary implements TagLibrary
      * @see org.apache.myfaces.view.facelets.tag.TagLibrary#createTagHandler(java.lang.String,
java.lang.String,
      * org.apache.myfaces.view.facelets.tag.TagConfig)
      */
+    @Override
     public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws
FacesException
     {
         for (int i = 0; i < this.libraries.length; i++)
@@ -100,6 +103,7 @@ public final class CompositeTagLibrary implements TagLibrary
      * 
      * @see org.apache.myfaces.view.facelets.tag.TagLibrary#containsFunction(java.lang.String,
java.lang.String)
      */
+    @Override
     public boolean containsFunction(String ns, String name)
     {
         for (int i = 0; i < this.libraries.length; i++)
@@ -117,6 +121,7 @@ public final class CompositeTagLibrary implements TagLibrary
      * 
      * @see org.apache.myfaces.view.facelets.tag.TagLibrary#createFunction(java.lang.String,
java.lang.String)
      */
+    @Override
     public Method createFunction(String ns, String name)
     {
         for (int i = 0; i < this.libraries.length; i++)
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/LegacyUserTagHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/LegacyUserTagHandler.java
index cfc327a..584b9d4 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/LegacyUserTagHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/LegacyUserTagHandler.java
@@ -52,9 +52,7 @@ final class LegacyUserTagHandler extends TagHandler implements TemplateClient,
C
 {
 
     protected final TagAttribute[] _vars;
-
     protected final URL _location;
-
     protected final Map<String, DefineHandler> _handlers;
 
     /**
@@ -89,6 +87,7 @@ final class LegacyUserTagHandler extends TagHandler implements TemplateClient,
C
      * @see VariableMapper
      * @see javax.faces.view.facelets.FaceletHandler#apply(javax.faces.view.facelets.FaceletContext,
javax.faces.component.UIComponent)
      */
+    @Override
     public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException,
FaceletException,
             ELException
     {
@@ -140,6 +139,7 @@ final class LegacyUserTagHandler extends TagHandler implements TemplateClient,
C
         }
     }
 
+    @Override
     public boolean apply(FaceletContext ctx, UIComponent parent, String name) throws IOException,
FacesException,
             FaceletException, ELException
     {
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetaRulesetImpl.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetaRulesetImpl.java
index 7541713..dd93efc 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetaRulesetImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetaRulesetImpl.java
@@ -104,17 +104,11 @@ public final class MetaRulesetImpl extends MetaRuleset
     private final static TagAttribute[] EMPTY = new TagAttribute[0];
     
     private final Map<String, TagAttribute> _attributes;
-    
     private final TagAttribute[] _passthroughAttributes;
-
     private final List<Metadata> _mappers;
-
     private final List<MetaRule> _rules;
-
     private final Tag _tag;
-
     private final Class<?> _type;
-    
     private final List<MetaRule> _passthroughRules;
     
     public MetaRulesetImpl(Tag tag, Class<?> type)
@@ -179,6 +173,7 @@ public final class MetaRulesetImpl extends MetaRuleset
         _rules.add(BeanPropertyTagRule.INSTANCE);
     }
 
+    @Override
     public MetaRuleset add(Metadata mapper)
     {
         Assert.notNull("mapper", mapper);
@@ -191,6 +186,7 @@ public final class MetaRulesetImpl extends MetaRuleset
         return this;
     }
 
+    @Override
     public MetaRuleset addRule(MetaRule rule)
     {
         Assert.notNull("rule", rule);
@@ -207,6 +203,7 @@ public final class MetaRulesetImpl extends MetaRuleset
         return this;
     }
 
+    @Override
     public MetaRuleset alias(String attribute, String property)
     {
         Assert.notNull("attribute", attribute);
@@ -221,6 +218,7 @@ public final class MetaRulesetImpl extends MetaRuleset
         return this;
     }
 
+    @Override
     public Metadata finish()
     {
         MetadataTarget target = null;
@@ -311,6 +309,7 @@ public final class MetaRulesetImpl extends MetaRuleset
         }
     }
 
+    @Override
     public MetaRuleset ignore(String attribute)
     {
         Assert.notNull("attribute", attribute);
@@ -320,6 +319,7 @@ public final class MetaRulesetImpl extends MetaRuleset
         return this;
     }
 
+    @Override
     public MetaRuleset ignoreAll()
     {
         _attributes.clear();
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetaTagHandlerImpl.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetaTagHandlerImpl.java
index 3d3cb70..4c25c74 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetaTagHandlerImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetaTagHandlerImpl.java
@@ -42,6 +42,7 @@ public abstract class MetaTagHandlerImpl extends MetaTagHandler
      * @param type
      * @return
      */
+    @Override
     protected MetaRuleset createMetaRuleset(Class type)
     {
         Assert.notNull("type", type);
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetadataImpl.java b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetadataImpl.java
index fff5ae5..e7e1d03 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetadataImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetadataImpl.java
@@ -37,9 +37,9 @@ public final class MetadataImpl extends Metadata
         _size = mappers.length;
     }
 
+    @Override
     public void applyMetadata(FaceletContext ctx, Object instance)
     {
-        // TODO: PROFILE - Check if saving the _size worth it or if an enhanced for is better
         for (int i = 0; i < _size; i++)
         {
             _mappers[i].applyMetadata(ctx, instance);
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetadataTargetImpl.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetadataTargetImpl.java
index 5f3f2b5..e1ebe6d 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetadataTargetImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MetadataTargetImpl.java
@@ -35,7 +35,6 @@ import javax.faces.view.facelets.MetadataTarget;
 public final class MetadataTargetImpl extends MetadataTarget
 {
     private final Map<String, PropertyDescriptor> _pd;
-    
     private final Class<?> _type;
 
     public MetadataTargetImpl(Class<?> type) throws IntrospectionException
@@ -49,11 +48,13 @@ public final class MetadataTargetImpl extends MetadataTarget
         }
     }
 
+    @Override
     public PropertyDescriptor getProperty(String name)
     {
         return _pd.get(name);
     }
 
+    @Override
     public Class<?> getPropertyType(String name)
     {
         PropertyDescriptor pd = getProperty(name);
@@ -65,6 +66,7 @@ public final class MetadataTargetImpl extends MetadataTarget
         return null;
     }
 
+    @Override
     public Method getReadMethod(String name)
     {
         PropertyDescriptor pd = getProperty(name);
@@ -76,11 +78,13 @@ public final class MetadataTargetImpl extends MetadataTarget
         return null;
     }
 
+    @Override
     public Class<?> getTargetClass()
     {
         return _type;
     }
 
+    @Override
     public Method getWriteMethod(String name)
     {
         PropertyDescriptor pd = getProperty(name);
@@ -92,6 +96,7 @@ public final class MetadataTargetImpl extends MetadataTarget
         return null;
     }
 
+    @Override
     public boolean isTargetInstanceOf(Class type)
     {
         return type.isAssignableFrom(_type);
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MethodRule.java b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MethodRule.java
index b575f6a..b76abd5 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MethodRule.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/MethodRule.java
@@ -39,9 +39,7 @@ public final class MethodRule extends MetaRule
 {
 
     private final String methodName;
-
     private final Class<?> returnTypeClass;
-
     private final Class<?>[] params;
 
     public MethodRule(String methodName, Class<?> returnTypeClass, Class<?>[]
params)
@@ -51,6 +49,7 @@ public final class MethodRule extends MetaRule
         this.params = params;
     }
 
+    @Override
     public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget meta)
     {
         if (false == name.equals(this.methodName))
@@ -73,11 +72,8 @@ public final class MethodRule extends MetaRule
     private class MethodExpressionMetadata extends Metadata
     {
         private final Method _method;
-
         private final TagAttribute _attribute;
-
         private Class<?>[] _paramList;
-
         private Class<?> _returnType;
 
         public MethodExpressionMetadata(Method method, TagAttribute attribute, Class<?>
returnType, 
@@ -89,6 +85,7 @@ public final class MethodRule extends MetaRule
             _returnType = returnType;
         }
 
+        @Override
         public void applyMetadata(FaceletContext ctx, Object instance)
         {
             MethodExpression expr = _attribute.getMethodExpression(ctx, _returnType, _paramList);
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagAttributeImpl.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagAttributeImpl.java
index 5fc0480..d61ce39 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagAttributeImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagAttributeImpl.java
@@ -53,7 +53,7 @@ public final class TagAttributeImpl extends TagAttribute
 {
 
     private final static int EL_LITERAL = 1;
-    
+   
     private final static int EL_CC = 2;
     
     private final static int EL_CC_ATTR_ME = 4;
@@ -61,17 +61,11 @@ public final class TagAttributeImpl extends TagAttribute
     private final static int EL_RESOURCE = 8;
     
     private final int capabilities;
-
     private final String localName;
-
     private final Location location;
-
     private final String namespace;
-
     private final String qName;
-
     private final String value;
-
     private String string;
 
     /**
@@ -128,6 +122,7 @@ public final class TagAttributeImpl extends TagAttribute
      *            FaceletContext to use
      * @return boolean value
      */
+    @Override
     public boolean getBoolean(FaceletContext ctx)
     {
         if ((this.capabilities & EL_LITERAL) != 0)
@@ -150,6 +145,7 @@ public final class TagAttributeImpl extends TagAttribute
      *            FaceletContext to use
      * @return int value
      */
+    @Override
     public int getInt(FaceletContext ctx)
     {
         if ((this.capabilities & EL_LITERAL) != 0)
@@ -167,6 +163,7 @@ public final class TagAttributeImpl extends TagAttribute
      * 
      * @return local name of this attribute
      */
+    @Override
     public String getLocalName()
     {
         return this.localName;
@@ -177,6 +174,7 @@ public final class TagAttributeImpl extends TagAttribute
      * 
      * @return the TagAttribute's location
      */
+    @Override
     public Location getLocation()
     {
         return this.location;
@@ -196,6 +194,7 @@ public final class TagAttributeImpl extends TagAttribute
      *            parameter type
      * @return a MethodExpression instance
      */
+    @Override
     public MethodExpression getMethodExpression(FaceletContext ctx, Class type, Class[] paramTypes)
     {
         AbstractFaceletContext actx = (AbstractFaceletContext) ctx;
@@ -347,6 +346,7 @@ public final class TagAttributeImpl extends TagAttribute
      * 
      * @return resolved Namespace
      */
+    @Override
     public String getNamespace()
     {
         return this.namespace;
@@ -360,6 +360,7 @@ public final class TagAttributeImpl extends TagAttribute
      *            FaceletContext to use
      * @return Object representation of this attribute's value
      */
+    @Override
     public Object getObject(FaceletContext ctx)
     {
         return this.getObject(ctx, Object.class);
@@ -370,6 +371,7 @@ public final class TagAttributeImpl extends TagAttribute
      * 
      * @return the qualified name for this attribute
      */
+    @Override
     public String getQName()
     {
         return this.qName;
@@ -380,6 +382,7 @@ public final class TagAttributeImpl extends TagAttribute
      * 
      * @return literal value
      */
+    @Override
     public String getValue()
     {
         return this.value;
@@ -393,6 +396,7 @@ public final class TagAttributeImpl extends TagAttribute
      *            FaceletContext to use
      * @return String value of this attribute
      */
+    @Override
     public String getValue(FaceletContext ctx)
     {
         if ((this.capabilities & EL_LITERAL) != 0)
@@ -418,6 +422,7 @@ public final class TagAttributeImpl extends TagAttribute
      *            expected return type
      * @return Object value of this attribute
      */
+    @Override
     public Object getObject(FaceletContext ctx, Class type)
     {
         if ((this.capabilities & EL_LITERAL) != 0)
@@ -463,6 +468,7 @@ public final class TagAttributeImpl extends TagAttribute
      *            expected return type
      * @return ValueExpression instance
      */
+    @Override
     public ValueExpression getValueExpression(FaceletContext ctx, Class type)
     {
         AbstractFaceletContext actx = (AbstractFaceletContext) ctx;
@@ -585,6 +591,7 @@ public final class TagAttributeImpl extends TagAttribute
      * 
      * @return true if this attribute is literal
      */
+    @Override
     public boolean isLiteral()
     {
         return (this.capabilities & EL_LITERAL) != 0;
@@ -595,6 +602,7 @@ public final class TagAttributeImpl extends TagAttribute
      * 
      * See java.lang.Object#toString()
      */
+    @Override
     public String toString()
     {
         if (this.string == null)
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagAttributesImpl.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagAttributesImpl.java
index 2ffe507..d198cc0 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagAttributesImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagAttributesImpl.java
@@ -45,9 +45,7 @@ public final class TagAttributesImpl extends TagAttributes
     private final static TagAttribute[] EMPTY = new TagAttribute[0];
 
     private final TagAttribute[] _attributes;
-
     private final String[] _namespaces;
-
     private final List<TagAttribute[]> _nsattrs;
 
     /**
@@ -93,6 +91,7 @@ public final class TagAttributesImpl extends TagAttributes
      * 
      * @return a non-null array of TagAttributes
      */
+    @Override
     public TagAttribute[] getAll()
     {
         return _attributes;
@@ -106,6 +105,7 @@ public final class TagAttributesImpl extends TagAttributes
      *            tag attribute name
      * @return the TagAttribute found, otherwise null
      */
+    @Override
     public TagAttribute get(String localName)
     {
         return get("", localName);
@@ -120,6 +120,7 @@ public final class TagAttributesImpl extends TagAttributes
      *            local name of the attribute
      * @return a TagAttribute found, otherwise null
      */
+    @Override
     public TagAttribute get(String ns, String localName)
     {
         if (ns != null && localName != null)
@@ -147,6 +148,7 @@ public final class TagAttributesImpl extends TagAttributes
      *            namespace to search
      * @return a non-null array of TagAttributes
      */
+    @Override
     public TagAttribute[] getAll(String namespace)
     {
         int idx = 0;
@@ -172,6 +174,7 @@ public final class TagAttributesImpl extends TagAttributes
      * 
      * @return a list of Namespaces found in this set
      */
+    @Override
     public String[] getNamespaces()
     {
         return _namespaces;
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/UserTagHandler.java b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/UserTagHandler.java
index 1d66bf5..143ae16 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/UserTagHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/UserTagHandler.java
@@ -58,9 +58,7 @@ final class UserTagHandler extends TagHandler implements TemplateClient,
Compone
 {
 
     protected final TagAttribute[] _vars;
-
     protected final URL _location;
-
     protected final Map<String, DefineHandler> _handlers;
 
     /**


Mime
View raw message