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 Wed, 05 Dec 2018 22:11:22 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 d97506c  cosmetics
d97506c is described below

commit d97506c0dc3b0548a50c9989610cf48965d8cf61
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Wed Dec 5 23:11:20 2018 +0100

    cosmetics
---
 .../myfaces/view/facelets/tag/composite/ClientBehaviorHandler.java    | 3 +++
 .../tag/composite/CompositeComponentDefinitionTagHandler.java         | 1 +
 .../facelets/tag/composite/CompositeComponentPropertyDescriptor.java  | 2 ++
 .../myfaces/view/facelets/tag/composite/CompositeComponentRule.java   | 4 ++++
 .../myfaces/view/facelets/tag/jsf/core/PhaseListenerHandler.java      | 1 +
 .../java/org/apache/myfaces/lifecycle/InstrumentingPhaseListener.java | 3 +++
 6 files changed, 14 insertions(+)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/ClientBehaviorHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/ClientBehaviorHandler.java
index 4ebba29..e416aa9 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/ClientBehaviorHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/ClientBehaviorHandler.java
@@ -123,6 +123,7 @@ public class ClientBehaviorHandler extends TagHandler implements InterfaceDescri
     }
 
     @SuppressWarnings("unchecked")
+    @Override
     public void apply(FaceletContext ctx, UIComponent parent)
             throws IOException
     {
@@ -176,11 +177,13 @@ public class ClientBehaviorHandler extends TagHandler implements InterfaceDescri
         this.nextHandler.apply(ctx, parent);
     }
     
+    @Override
     public boolean isCacheable()
     {
         return _cacheable;
     }
     
+    @Override
     public void setCacheable(boolean cacheable)
     {
         _cacheable = cacheable;
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentDefinitionTagHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentDefinitionTagHandler.java
index 34f8ef8..d0b9193 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentDefinitionTagHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentDefinitionTagHandler.java
@@ -103,6 +103,7 @@ public final class CompositeComponentDefinitionTagHandler implements FaceletHand
         }
     }
 
+    @Override
     public void apply(FaceletContext ctx, UIComponent parent)
             throws IOException
     {
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentPropertyDescriptor.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentPropertyDescriptor.java
index eab9f55..1a92ef4 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentPropertyDescriptor.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentPropertyDescriptor.java
@@ -54,6 +54,7 @@ public class CompositeComponentPropertyDescriptor extends PropertyDescriptor
         super(propertyName, null, null);
     }
 
+    @Override
     public void readExternal(ObjectInput in) throws IOException,
             ClassNotFoundException
     {
@@ -71,6 +72,7 @@ public class CompositeComponentPropertyDescriptor extends PropertyDescriptor
         }
     }
 
+    @Override
     public void writeExternal(ObjectOutput out) throws IOException
     {
         out.writeObject(getName());
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentRule.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentRule.java
index a56b431..d4463c3 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentRule.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeComponentRule.java
@@ -49,6 +49,7 @@ final class CompositeComponentRule extends MetaRule
             _value = value;
         }
 
+        @Override
         public void applyMetadata(FaceletContext ctx, Object instance)
         {
             ((UIComponent) instance).getAttributes().put(_name, _value);
@@ -68,6 +69,7 @@ final class CompositeComponentRule extends MetaRule
             _type = type;
         }
 
+        @Override
         public void applyMetadata(FaceletContext ctx, Object instance)
         {
             ((UIComponent) instance).getAttributes().put(_name, _attr.getObject(ctx, _type));
@@ -89,6 +91,7 @@ final class CompositeComponentRule extends MetaRule
             _type = type;
         }
 
+        @Override
         public void applyMetadata(FaceletContext ctx, Object instance)
         {
             // Call setValueExpression to set ValueExpression instances
@@ -115,6 +118,7 @@ final class CompositeComponentRule extends MetaRule
         super();
     }
 
+    @Override
     public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget meta)
     {
         if (meta.isTargetInstanceOf(UIComponent.class))
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/PhaseListenerHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/PhaseListenerHandler.java
index 83640ab..06eb405 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/PhaseListenerHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/PhaseListenerHandler.java
@@ -160,6 +160,7 @@ public class PhaseListenerHandler extends TagHandler
         }
     }
 
+    @Override
     public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException,
FaceletException,
             ELException
     {
diff --git a/impl/src/test/java/org/apache/myfaces/lifecycle/InstrumentingPhaseListener.java
b/impl/src/test/java/org/apache/myfaces/lifecycle/InstrumentingPhaseListener.java
index 51e1fe5..7c05aaf 100644
--- a/impl/src/test/java/org/apache/myfaces/lifecycle/InstrumentingPhaseListener.java
+++ b/impl/src/test/java/org/apache/myfaces/lifecycle/InstrumentingPhaseListener.java
@@ -26,6 +26,7 @@ import javax.faces.event.PhaseListener;
 public class InstrumentingPhaseListener implements PhaseListener
 {
     private static final long serialVersionUID = -3222250142846233648L;
+
     private PhaseId listenPhaseId = null;
     private PhaseId eventPhaseId = null;
     private boolean before = true;
@@ -44,6 +45,7 @@ public class InstrumentingPhaseListener implements PhaseListener
         this.listenPhaseId = interestingPhaseId;
     }
 
+    @Override
     public void afterPhase(PhaseEvent event)
     {
         afterPhases.add(event.getPhaseId());
@@ -60,6 +62,7 @@ public class InstrumentingPhaseListener implements PhaseListener
         }
     }
 
+    @Override
     public void beforePhase(PhaseEvent event)
     {
         beforePhases.add(event.getPhaseId());


Mime
View raw message