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 Mon, 10 Dec 2018 18:23:40 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 689198d  cosmetics
689198d is described below

commit 689198d6e6d7acefc65b4f2c856af1a311418952
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Mon Dec 10 19:23:40 2018 +0100

    cosmetics
---
 .../component/search/SearchExpressionContextFactory.java    |  1 +
 .../main/java/javax/faces/component/visit/VisitContext.java | 13 +++++++++++++
 .../javax/faces/component/visit/VisitContextFactory.java    |  1 +
 .../javax/faces/component/visit/VisitContextWrapper.java    |  1 +
 api/src/main/java/javax/faces/context/FlashWrapper.java     | 13 +++++++++++++
 .../java/javax/faces/context/PartialViewContextFactory.java |  1 +
 .../java/javax/faces/context/PartialViewContextWrapper.java |  4 +++-
 .../java/javax/faces/lifecycle/ClientWindowFactory.java     |  1 +
 .../java/javax/faces/lifecycle/ClientWindowWrapper.java     |  7 +++++++
 .../main/java/javax/faces/lifecycle/LifecycleWrapper.java   |  7 +++++++
 api/src/main/java/javax/faces/webapp/FacesServlet.java      |  5 +++++
 11 files changed, 53 insertions(+), 1 deletion(-)

diff --git a/api/src/main/java/javax/faces/component/search/SearchExpressionContextFactory.java
b/api/src/main/java/javax/faces/component/search/SearchExpressionContextFactory.java
index 0bdaf45..0d5a3d8 100644
--- a/api/src/main/java/javax/faces/component/search/SearchExpressionContextFactory.java
+++ b/api/src/main/java/javax/faces/component/search/SearchExpressionContextFactory.java
@@ -40,6 +40,7 @@ public abstract class SearchExpressionContextFactory implements FacesWrapper<Sea
             FacesContext context,  UIComponent source,
             Set<SearchExpressionHint> expressionHints, Set<VisitHint> visitHints);
 
+    @Override
     public SearchExpressionContextFactory getWrapped()
     {
         return this.delegate;
diff --git a/api/src/main/java/javax/faces/component/visit/VisitContext.java b/api/src/main/java/javax/faces/component/visit/VisitContext.java
index 40962d5..0c5e0b9 100644
--- a/api/src/main/java/javax/faces/component/visit/VisitContext.java
+++ b/api/src/main/java/javax/faces/component/visit/VisitContext.java
@@ -60,66 +60,79 @@ public abstract class VisitContext
 
     private static class AllIdsCollection implements Collection<String>, Serializable
     {
+        @Override
         public boolean add(String e)
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public boolean addAll(Collection<? extends String> c)
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public void clear()
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public boolean contains(Object o)
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public boolean containsAll(Collection<?> c)
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public boolean isEmpty()
         {
             return false;
         }
 
+        @Override
         public Iterator<String> iterator()
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public boolean remove(Object o)
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public boolean removeAll(Collection<?> c)
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public boolean retainAll(Collection<?> c)
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public int size()
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public Object[] toArray()
         {
             throw new UnsupportedOperationException();
         }
 
+        @Override
         public <T> T[] toArray(T[] a)
         {
             throw new UnsupportedOperationException();
diff --git a/api/src/main/java/javax/faces/component/visit/VisitContextFactory.java b/api/src/main/java/javax/faces/component/visit/VisitContextFactory.java
index edc8201..6141471 100644
--- a/api/src/main/java/javax/faces/component/visit/VisitContextFactory.java
+++ b/api/src/main/java/javax/faces/component/visit/VisitContextFactory.java
@@ -43,6 +43,7 @@ public abstract class VisitContextFactory implements FacesWrapper<VisitContextFa
     
     public abstract VisitContext getVisitContext(FacesContext context, Collection<String>
ids, Set<VisitHint> hints);
 
+    @Override
     public VisitContextFactory getWrapped()
     {
         return delegate;
diff --git a/api/src/main/java/javax/faces/component/visit/VisitContextWrapper.java b/api/src/main/java/javax/faces/component/visit/VisitContextWrapper.java
index 03312f9..02e790c 100644
--- a/api/src/main/java/javax/faces/component/visit/VisitContextWrapper.java
+++ b/api/src/main/java/javax/faces/component/visit/VisitContextWrapper.java
@@ -79,6 +79,7 @@ public abstract class VisitContextWrapper extends VisitContext implements
FacesW
         return getWrapped().getSubtreeIdsToVisit(component);
     }
     
+    @Override
     public VisitContext getWrapped()
     {
         return delegate;
diff --git a/api/src/main/java/javax/faces/context/FlashWrapper.java b/api/src/main/java/javax/faces/context/FlashWrapper.java
index 34ff995..cd44060 100644
--- a/api/src/main/java/javax/faces/context/FlashWrapper.java
+++ b/api/src/main/java/javax/faces/context/FlashWrapper.java
@@ -88,66 +88,79 @@ public abstract class FlashWrapper extends Flash implements FacesWrapper<Flash>
         getWrapped().doPostPhaseActions(context);
     }
 
+    @Override
     public int size()
     {
         return getWrapped().size();
     }
 
+    @Override
     public boolean isEmpty()
     {
         return getWrapped().isEmpty();
     }
 
+    @Override
     public boolean containsKey(Object key)
     {
         return getWrapped().containsKey(key);
     }
 
+    @Override
     public boolean containsValue(Object value)
     {
         return getWrapped().containsValue(value);
     }
 
+    @Override
     public Object get(Object key)
     {
         return getWrapped().get(key);
     }
 
+    @Override
     public Object put(String key, Object value)
     {
         return getWrapped().put(key, value);
     }
 
+    @Override
     public Object remove(Object key)
     {
         return getWrapped().remove(key);
     }
 
+    @Override
     public void putAll(Map<? extends String, ? extends Object> m)
     {
         getWrapped().putAll(m);
     }
 
+    @Override
     public void clear()
     {
         getWrapped().clear();
     }
 
+    @Override
     public Set<String> keySet()
     {
         return getWrapped().keySet();
     }
 
+    @Override
     public Collection<Object> values()
     {
         return getWrapped().values();
     }
 
+    @Override
     public Set<Entry<String, Object>> entrySet()
     {
         return getWrapped().entrySet();
     }
     
+    @Override
     public Flash getWrapped()
     {
         return delegate;
diff --git a/api/src/main/java/javax/faces/context/PartialViewContextFactory.java b/api/src/main/java/javax/faces/context/PartialViewContextFactory.java
index 07bf9f0..8849c14 100644
--- a/api/src/main/java/javax/faces/context/PartialViewContextFactory.java
+++ b/api/src/main/java/javax/faces/context/PartialViewContextFactory.java
@@ -39,6 +39,7 @@ public abstract class PartialViewContextFactory implements FacesWrapper<PartialV
     
     public abstract PartialViewContext getPartialViewContext(FacesContext context);
     
+    @Override
     public PartialViewContextFactory getWrapped()
     {
         return delegate;
diff --git a/api/src/main/java/javax/faces/context/PartialViewContextWrapper.java b/api/src/main/java/javax/faces/context/PartialViewContextWrapper.java
index 5eab58a..af803ec 100644
--- a/api/src/main/java/javax/faces/context/PartialViewContextWrapper.java
+++ b/api/src/main/java/javax/faces/context/PartialViewContextWrapper.java
@@ -19,6 +19,7 @@
 package javax.faces.context;
 
 import java.util.Collection;
+import java.util.List;
 
 import javax.faces.FacesWrapper;
 import javax.faces.event.PhaseId;
@@ -128,7 +129,8 @@ public abstract class PartialViewContextWrapper extends PartialViewContext
imple
         getWrapped().setPartialRequest(isPartialRequest);
     }
  
-    public java.util.List<java.lang.String> getEvalScripts()
+    @Override
+    public List<java.lang.String> getEvalScripts()
     {
         return getWrapped().getEvalScripts();
     }
diff --git a/api/src/main/java/javax/faces/lifecycle/ClientWindowFactory.java b/api/src/main/java/javax/faces/lifecycle/ClientWindowFactory.java
index afe0762..651a667 100644
--- a/api/src/main/java/javax/faces/lifecycle/ClientWindowFactory.java
+++ b/api/src/main/java/javax/faces/lifecycle/ClientWindowFactory.java
@@ -39,6 +39,7 @@ public abstract class ClientWindowFactory implements FacesWrapper<ClientWindowFa
         this.delegate = delegate;
     }
 
+    @Override
     public ClientWindowFactory getWrapped()
     {
         return delegate;
diff --git a/api/src/main/java/javax/faces/lifecycle/ClientWindowWrapper.java b/api/src/main/java/javax/faces/lifecycle/ClientWindowWrapper.java
index c269b4f..4ab23c2 100644
--- a/api/src/main/java/javax/faces/lifecycle/ClientWindowWrapper.java
+++ b/api/src/main/java/javax/faces/lifecycle/ClientWindowWrapper.java
@@ -41,36 +41,43 @@ public abstract class ClientWindowWrapper extends ClientWindow
     {
     }
 
+    @Override
     public void decode(FacesContext context)
     {
         getWrapped().decode(context);
     }
 
+    @Override
     public String getId()
     {
         return getWrapped().getId();
     }
 
+    @Override
     public Map<String, String> getQueryURLParameters(FacesContext context)
     {
         return getWrapped().getQueryURLParameters(context);
     }
 
+    @Override
     public boolean isClientWindowRenderModeEnabled(FacesContext context)
     {
         return getWrapped().isClientWindowRenderModeEnabled(context);
     }
 
+    @Override
     public void disableClientWindowRenderMode(FacesContext context)
     {
         getWrapped().disableClientWindowRenderMode(context);
     }
 
+    @Override
     public void enableClientWindowRenderMode(FacesContext context)
     {
         getWrapped().enableClientWindowRenderMode(context);
     }
     
+    @Override
     public ClientWindow getWrapped()
     {
         return delegate;
diff --git a/api/src/main/java/javax/faces/lifecycle/LifecycleWrapper.java b/api/src/main/java/javax/faces/lifecycle/LifecycleWrapper.java
index 71239f9..44c3210 100644
--- a/api/src/main/java/javax/faces/lifecycle/LifecycleWrapper.java
+++ b/api/src/main/java/javax/faces/lifecycle/LifecycleWrapper.java
@@ -37,36 +37,43 @@ public abstract class LifecycleWrapper extends Lifecycle implements FacesWrapper
         this.delegate = delegate;
     }
     
+    @Override
     public void render(FacesContext context) throws FacesException
     {
         getWrapped().render(context);
     }
 
+    @Override
     public void removePhaseListener(PhaseListener listener)
     {
         getWrapped().removePhaseListener(listener);
     }
 
+    @Override
     public PhaseListener[] getPhaseListeners()
     {
         return getWrapped().getPhaseListeners();
     }
 
+    @Override
     public void execute(FacesContext context) throws FacesException
     {
         getWrapped().execute(context);
     }
 
+    @Override
     public void attachWindow(FacesContext context)
     {
         getWrapped().attachWindow(context);
     }
 
+    @Override
     public void addPhaseListener(PhaseListener listener)
     {
         getWrapped().addPhaseListener(listener);
     }
     
+    @Override
     public Lifecycle getWrapped()
     {
         return delegate;
diff --git a/api/src/main/java/javax/faces/webapp/FacesServlet.java b/api/src/main/java/javax/faces/webapp/FacesServlet.java
index 1cd5fac..c4cf36e 100755
--- a/api/src/main/java/javax/faces/webapp/FacesServlet.java
+++ b/api/src/main/java/javax/faces/webapp/FacesServlet.java
@@ -78,6 +78,7 @@ public final class FacesServlet implements Servlet
         super();
     }
 
+    @Override
     public void destroy()
     {
         _servletConfig = null;
@@ -89,11 +90,13 @@ public final class FacesServlet implements Servlet
         }
     }
 
+    @Override
     public ServletConfig getServletConfig()
     {
         return _servletConfig;
     }
 
+    @Override
     public String getServletInfo()
     {
         return SERVLET_INFO;
@@ -110,6 +113,7 @@ public final class FacesServlet implements Servlet
         return appLifecycleId != null ? appLifecycleId : LifecycleFactory.DEFAULT_LIFECYCLE;
     }
 
+    @Override
     public void init(ServletConfig servletConfig) throws ServletException
     {
         if (log.isLoggable(Level.FINEST))
@@ -131,6 +135,7 @@ public final class FacesServlet implements Servlet
         }
     }
 
+    @Override
     public void service(ServletRequest request, ServletResponse response) throws IOException,
ServletException
     {
         // If the request and response arguments to this method are not instances of HttpServletRequest
and 


Mime
View raw message