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, 02 Aug 2019 12:23:49 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 69516f3  cosmetics
69516f3 is described below

commit 69516f34183017137144da2f88f71f141152481c
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Fri Aug 2 14:23:41 2019 +0200

    cosmetics
---
 .../myfaces/view/facelets/tag/MetaRulesetImpl.java | 12 -------
 .../myfaces/view/facelets/tag/NullMetadata.java    | 37 ++++++++++++++++++++++
 .../facelets/tag/composite/AttributeHandler.java   | 11 +++----
 .../tag/composite/ClientBehaviorHandler.java       |  2 --
 ...lientBehaviorRedirectEventComponentWrapper.java |  2 +-
 .../tag/composite/CompositeMetaRulesetImpl.java    | 15 ++-------
 .../tag/composite/CompositeResouceWrapper.java     |  4 +--
 .../view/facelets/tag/composite/FacetHandler.java  |  3 +-
 .../facelets/tag/composite/InsertFacetHandler.java |  3 --
 .../facelets/tag/composite/InterfaceHandler.java   |  9 ++----
 .../composite/RetargetMethodExpressionRule.java    |  6 ++--
 .../tag/jsf/core/PhaseListenerHandler.java         | 11 ++++---
 .../jsf/core/ResetValuesActionListenerHandler.java |  6 ++--
 .../view/facelets/tag/jsf/core/ViewHandler.java    |  5 +++
 .../facelets/tag/jsf/core/WebsocketHandler.java    |  5 +--
 15 files changed, 68 insertions(+), 63 deletions(-)

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 13d9e32..f61b9f9 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
@@ -19,7 +19,6 @@
 package org.apache.myfaces.view.facelets.tag;
 
 import org.apache.myfaces.util.lang.ClassUtils;
-import javax.faces.view.facelets.FaceletContext;
 import javax.faces.view.facelets.MetaRule;
 import javax.faces.view.facelets.MetaRuleset;
 import javax.faces.view.facelets.Metadata;
@@ -345,15 +344,4 @@ public final class MetaRulesetImpl extends MetaRuleset
 
         return meta;
     }
-
-    private static class NullMetadata extends Metadata
-    {
-        public static final NullMetadata INSTANCE = new NullMetadata();
-        
-        @Override
-        public void applyMetadata(FaceletContext ctx, Object instance)
-        {
-            // do nothing
-        }
-    }
 }
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/NullMetadata.java b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/NullMetadata.java
new file mode 100644
index 0000000..29cb74b
--- /dev/null
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/NullMetadata.java
@@ -0,0 +1,37 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.myfaces.view.facelets.tag;
+
+import javax.faces.view.facelets.FaceletContext;
+import javax.faces.view.facelets.Metadata;
+
+public class NullMetadata extends Metadata
+{
+    public static final NullMetadata INSTANCE = new NullMetadata();
+
+    private NullMetadata()
+    {
+    }
+    
+    @Override
+    public void applyMetadata(FaceletContext ctx, Object instance)
+    {
+        // do nothing
+    }
+}
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/AttributeHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/AttributeHandler.java
index b3ca0ae..b50920d 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/AttributeHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/AttributeHandler.java
@@ -195,8 +195,7 @@ public class AttributeHandler extends TagHandler implements InterfaceDescriptorC
         // occur are literal or null. Otherwise we need to create it.
         // Note that only if ProjectStage is Development, The "displayName",
         // "shortDescription", "expert", "hidden", and "preferred" attributes are exposed
-        final boolean development = FacesContext.getCurrentInstance()
-                .isProjectStage(ProjectStage.Development);
+        final boolean development = FacesContext.getCurrentInstance().isProjectStage(ProjectStage.Development);
         
         if (_name.isLiteral() 
                 && (!development || _areDevelopmentAttributesLiteral()))
@@ -208,10 +207,9 @@ public class AttributeHandler extends TagHandler implements InterfaceDescriptorC
             // targets, default, required, methodSignature, type and possible
             // unspecified attributes. This prevents the racy single-check.
             _cacheable = true;
-            if ( _targets == null && _default == null && _required == null
&&
-                 _methodSignature == null && _type == null && _targetAttributeName
== null &&
-                 !CompositeTagAttributeUtils.containsUnspecifiedAttributes(tag, 
-                         STANDARD_ATTRIBUTES_SORTED))
+            if ( _targets == null && _default == null && _required == null
+                    && _methodSignature == null && _type == null &&
_targetAttributeName == null
+                    && !CompositeTagAttributeUtils.containsUnspecifiedAttributes(tag,
STANDARD_ATTRIBUTES_SORTED))
             {
                 _propertyDescriptor = _createPropertyDescriptor(development);
             }
@@ -241,7 +239,6 @@ public class AttributeHandler extends TagHandler implements InterfaceDescriptorC
 
         CompositeComponentBeanInfo beanInfo = 
             (CompositeComponentBeanInfo) compositeBaseParent.getAttributes().get(UIComponent.BEANINFO_KEY);
-        
         if (beanInfo == null)
         {
             if (log.isLoggable(Level.SEVERE))
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 d229d0f..3602c44 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
@@ -132,7 +132,6 @@ public class ClientBehaviorHandler extends TagHandler implements InterfaceDescri
 
         CompositeComponentBeanInfo beanInfo = 
             (CompositeComponentBeanInfo) compositeBaseParent.getAttributes().get(UIComponent.BEANINFO_KEY);
-        
         if (beanInfo == null)
         {
             if (log.isLoggable(Level.SEVERE))
@@ -147,7 +146,6 @@ public class ClientBehaviorHandler extends TagHandler implements InterfaceDescri
         //1. Obtain the list mentioned as "targetList" on ViewDeclarationLanguage.retargetAttachedObjects
         List<AttachedObjectTarget> targetList = (List<AttachedObjectTarget>)
             beanDescriptor.getValue(AttachedObjectTarget.ATTACHED_OBJECT_TARGETS_KEY);
-        
         if (targetList == null)
         {
             //2. If not found create it and set
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/ClientBehaviorRedirectEventComponentWrapper.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/ClientBehaviorRedirectEventComponentWrapper.java
index abcf58f..a0846e3 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/ClientBehaviorRedirectEventComponentWrapper.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/ClientBehaviorRedirectEventComponentWrapper.java
@@ -97,7 +97,7 @@ public class ClientBehaviorRedirectEventComponentWrapper extends UIComponent
     @Override
     public Map<String, List<ClientBehavior>> getClientBehaviors()
     {
-        Map<String, List<ClientBehavior>> clientBehaviors = new HashMap<String,
List<ClientBehavior>>(1);
+        Map<String, List<ClientBehavior>> clientBehaviors = new HashMap<>(1);
         clientBehaviors.put(_sourceEvent, ((ClientBehaviorHolder)_delegate).getClientBehaviors().get(_targetEvent));
         return Collections.unmodifiableMap(clientBehaviors);
     }
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeMetaRulesetImpl.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeMetaRulesetImpl.java
index 295281e..8ec2fd3 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeMetaRulesetImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeMetaRulesetImpl.java
@@ -23,7 +23,6 @@ import org.apache.myfaces.view.facelets.tag.MetadataImpl;
 import org.apache.myfaces.view.facelets.tag.MetadataTargetImpl;
 
 import javax.faces.context.FacesContext;
-import javax.faces.view.facelets.FaceletContext;
 import javax.faces.view.facelets.MetaRule;
 import javax.faces.view.facelets.MetaRuleset;
 import javax.faces.view.facelets.Metadata;
@@ -40,11 +39,10 @@ import java.util.Map;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 import org.apache.myfaces.util.lang.Assert;
+import org.apache.myfaces.view.facelets.tag.NullMetadata;
 
 public class CompositeMetaRulesetImpl extends MetaRuleset
 {
-    private final static Metadata NONE = new NullMetadata();
-
     private final static Logger log = Logger.getLogger(CompositeMetadataTargetImpl.class.getName());
     
     private static final String METADATA_KEY
@@ -178,7 +176,7 @@ public class CompositeMetaRulesetImpl extends MetaRuleset
 
         if (_mappers.isEmpty())
         {
-            return NONE;
+            return NullMetadata.INSTANCE;
         }
         else
         {
@@ -231,13 +229,4 @@ public class CompositeMetaRulesetImpl extends MetaRuleset
 
         return meta;
     }    
-
-    private static class NullMetadata extends Metadata
-    {
-        @Override
-        public void applyMetadata(FaceletContext ctx, Object instance)
-        {
-            // do nothing
-        }
-    }
 }
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeResouceWrapper.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeResouceWrapper.java
index 2ce8e16..ddc9853 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeResouceWrapper.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/CompositeResouceWrapper.java
@@ -125,7 +125,7 @@ public final class CompositeResouceWrapper extends Resource implements
FacesWrap
         // Delegate resource in this case could not be available in serialization, or
         // serialization could happen in other context. So it is better to return
         // a simple String representing the object without go into delegation.
-        return ( (getLibraryName() != null) ? getLibraryName() : "") + ':' +
-               ( (getResourceName() != null) ? getResourceName() : "") ;
+        return ((getLibraryName() != null) ? getLibraryName() : "") + ':' +
+               ((getResourceName() != null) ? getResourceName() : "") ;
     }
 }
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/FacetHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/FacetHandler.java
index 866767e..9a46c45 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/FacetHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/FacetHandler.java
@@ -164,8 +164,7 @@ public class FacetHandler extends TagHandler implements InterfaceDescriptorCreat
         // occur are literal or null. Otherwise we need to create it.
         // Note that only if ProjectStage is Development, The "displayName",
         // "shortDescription", "expert", "hidden", and "preferred" attributes are exposed
-        final boolean development = FacesContext.getCurrentInstance()
-                .isProjectStage(ProjectStage.Development);
+        final boolean development = FacesContext.getCurrentInstance().isProjectStage(ProjectStage.Development);
         
         if (_name.isLiteral() 
                 && (!development || _areDevelopmentAttributesLiteral()))
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/InsertFacetHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/InsertFacetHandler.java
index 7bf9e3b..221accf 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/InsertFacetHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/InsertFacetHandler.java
@@ -103,7 +103,6 @@ public class InsertFacetHandler extends TagHandler
             
             CompositeComponentBeanInfo beanInfo = 
                 (CompositeComponentBeanInfo) compositeBaseParent.getAttributes().get(UIComponent.BEANINFO_KEY);
-            
             if (beanInfo == null)
             {
                 if (log.isLoggable(Level.SEVERE))
@@ -116,7 +115,6 @@ public class InsertFacetHandler extends TagHandler
             BeanDescriptor beanDescriptor = beanInfo.getBeanDescriptor(); 
 
             List<String> facetList = (List<String>) beanDescriptor.getValue(INSERT_FACET_USED);
-            
             if (facetList == null)
             {
                 //2. If not found create it and set
@@ -128,7 +126,6 @@ public class InsertFacetHandler extends TagHandler
 
             Map<String, PropertyDescriptor> insertFacetPropertyDescriptorMap = (Map<String,
PropertyDescriptor>)
                 beanDescriptor.getValue(INSERT_FACET_KEYS);
-        
             if (insertFacetPropertyDescriptorMap == null)
             {
                 insertFacetPropertyDescriptorMap = new HashMap<>(5);
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/InterfaceHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/InterfaceHandler.java
index 9f7a9b7..1f4b456 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/InterfaceHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/InterfaceHandler.java
@@ -145,8 +145,7 @@ public class InterfaceHandler extends TagHandler implements InterfaceDescriptorC
         
         // Note that only if ProjectStage is Development, The "displayName",
         // "shortDescription", "expert", "hidden", and "preferred" attributes are exposed
-        final boolean development = FacesContext.getCurrentInstance()
-                .isProjectStage(ProjectStage.Development);
+        final boolean development = FacesContext.getCurrentInstance().isProjectStage(ProjectStage.Development);
         
         // note that we don't have to check the componentType and any unspecified
         // attributes here, because these ones are stored as a ValueExpression in the
@@ -158,7 +157,7 @@ public class InterfaceHandler extends TagHandler implements InterfaceDescriptorC
             // Check if all InterfaceDescriptorCreator children are cacheable.
             // If so, we can cache this instance, otherwise not.
             attrHandlerList = 
-                TagHandlerUtils.findNextByType( nextHandler, InterfaceDescriptorCreator.class);
+                TagHandlerUtils.findNextByType(nextHandler, InterfaceDescriptorCreator.class);
             for (InterfaceDescriptorCreator handler : attrHandlerList)
             {
                 if (!handler.isCacheable())
@@ -202,12 +201,10 @@ public class InterfaceHandler extends TagHandler implements InterfaceDescriptorC
         if ( ((AbstractFaceletContext)ctx).isBuildingCompositeComponentMetadata() )
         {
             FaceletCompositionContext fcc = FaceletCompositionContext.getCurrentInstance(ctx);
-            UIComponent compositeBaseParent
-                    = fcc.getCompositeComponentFromStack();
+            UIComponent compositeBaseParent = fcc.getCompositeComponentFromStack();
             
             CompositeComponentBeanInfo beanInfo = 
                 (CompositeComponentBeanInfo) compositeBaseParent.getAttributes().get(UIComponent.BEANINFO_KEY);
-            
             if (beanInfo == null)
             {
                 if (log.isLoggable(Level.SEVERE))
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/RetargetMethodExpressionRule.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/RetargetMethodExpressionRule.java
index 21549d0..26ceb25 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/RetargetMethodExpressionRule.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/composite/RetargetMethodExpressionRule.java
@@ -78,12 +78,11 @@ final class RetargetMethodExpressionRule extends MetaRule
         {
             PropertyDescriptor propertyDescriptor = meta.getProperty(name);
             //Type takes precedence over method-signature
-            if (propertyDescriptor != null && 
-                    propertyDescriptor.getValue("type") == null)
+            if (propertyDescriptor != null
+                    && propertyDescriptor.getValue("type") == null)
             {
                 ValueExpression methodSignatureExpression = 
                     (ValueExpression) propertyDescriptor.getValue("method-signature");
-                
                 if (methodSignatureExpression != null)
                 {
                     return new RetargetValueExpressionMapper(attribute, name);
@@ -99,7 +98,6 @@ final class RetargetMethodExpressionRule extends MetaRule
                 //if there is a targets declaration, is a retarget without doubt
                 ValueExpression targets = 
                     (ValueExpression)propertyDescriptor.getValue("targets");
-                
                 if (targets != null)
                 {
                     return new RetargetValueExpressionMapper(attribute, name);
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 2146681..c5d7be0 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
@@ -67,15 +67,17 @@ public class PhaseListenerHandler extends TagHandler
         private PhaseListener getInstance()
         {
             PhaseListener instance = null;
-            FacesContext faces = FacesContext.getCurrentInstance();
-            if (faces == null)
+            FacesContext facesContext = FacesContext.getCurrentInstance();
+            if (facesContext == null)
             {
                 return null;
             }
+            
             if (this.binding != null)
             {
-                instance = (PhaseListener) binding.getValue(faces.getELContext());
+                instance = (PhaseListener) binding.getValue(facesContext.getELContext());
             }
+            
             if (instance == null && type != null)
             {
                 try
@@ -88,7 +90,7 @@ public class PhaseListenerHandler extends TagHandler
                 }
                 if (this.binding != null)
                 {
-                    binding.setValue(faces.getELContext(), instance);
+                    binding.setValue(facesContext.getELContext(), instance);
                 }
             }
             return instance;
@@ -124,7 +126,6 @@ public class PhaseListenerHandler extends TagHandler
     }
 
     private final TagAttribute binding;
-
     private final String listenerType;
 
     public PhaseListenerHandler(TagConfig config)
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ResetValuesActionListenerHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ResetValuesActionListenerHandler.java
index cd27639..9b3448b 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ResetValuesActionListenerHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ResetValuesActionListenerHandler.java
@@ -260,7 +260,8 @@ public class ResetValuesActionListenerHandler extends TagHandler implements
Acti
             {
                 contextComponent = event.getComponent();
             }
-            List<String> list = new ArrayList<String>();
+
+            List<String> list = new ArrayList<>();
             for (String id : clientIds)
             {
                 list.add(getComponentId(faces, contextComponent, id));
@@ -276,7 +277,6 @@ public class ResetValuesActionListenerHandler extends TagHandler implements
Acti
         private static final long serialVersionUID = -9200000013153262119L;
 
         private Collection<String> clientIds;
-        
         private Location topCompositeComponentReference;
         
         private LiteralResetValuesActionListener()
@@ -297,6 +297,7 @@ public class ResetValuesActionListenerHandler extends TagHandler implements
Acti
             {
                 return;
             }
+
             UIViewRoot root = faces.getViewRoot();
             if (root == null)
             {
@@ -322,6 +323,7 @@ public class ResetValuesActionListenerHandler extends TagHandler implements
Acti
             {
                 contextComponent = event.getComponent();
             }
+
             List<String> list = new ArrayList<String>();
             for (String id : clientIds)
             {
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ViewHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ViewHandler.java
index 456a7d1..cb56c6e 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ViewHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/ViewHandler.java
@@ -156,20 +156,24 @@ public final class ViewHandler extends TagHandler
                 ctx.getFacesContext().getAttributes().put(FaceletViewDeclarationLanguage.PARAM_ENCODING,
                         encodingValue);
             }
+            
             if (this.beforePhase != null)
             {
                 MethodExpression m = this.beforePhase.getMethodExpression(ctx, null, LISTENER_SIG);
                 root.setBeforePhaseListener(m);
             }
+            
             if (this.afterPhase != null)
             {
                 MethodExpression m = this.afterPhase.getMethodExpression(ctx, null, LISTENER_SIG);
                 root.setAfterPhaseListener(m);
             }
+            
             if (this.transientAttribute != null)
             {
                 root.setTransient(this.transientAttribute.getBoolean(ctx));
             }
+            
             if (this.contracts != null)
             {
                 String contractsValue = this.contracts.getValue(ctx);
@@ -182,6 +186,7 @@ public final class ViewHandler extends TagHandler
                     }
                 }
             }
+            
             if (this.oamEnableViewPool != null)
             {
                 root.getAttributes().put("oamEnableViewPool", this.oamEnableViewPool.getBoolean(ctx));
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/WebsocketHandler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/WebsocketHandler.java
index 7bcf046..ffcb4bc 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/WebsocketHandler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/core/WebsocketHandler.java
@@ -30,13 +30,10 @@ import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFFacelet
 import org.apache.myfaces.push._WebsocketInit;
 import org.apache.myfaces.view.facelets.tag.jsf.ComponentSupport;
 
-/**
- *
- */
 @JSFFaceletTag(
         name = "f:websocket",
         bodyContent = "empty")
-public class WebsocketHandler extends ComponentHandler/* implements RelocatableResourceHandler*/
+public class WebsocketHandler extends ComponentHandler
 {
 
     @JSFFaceletAttribute(name = "channel", className = "javax.el.ValueExpression",


Mime
View raw message