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: refactored
Date Sun, 16 Dec 2018 15:06:10 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 c1193c6  refactored
c1193c6 is described below

commit c1193c66105eac029e2e12d53ba652688692d9b0
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Sun Dec 16 16:06:16 2018 +0100

    refactored
---
 .../main/java/org/apache/myfaces/webapp/MyFacesServlet.java   | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServlet.java b/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServlet.java
index 1a80469..2222c15 100755
--- a/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServlet.java
+++ b/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServlet.java
@@ -53,23 +53,26 @@ public class MyFacesServlet implements Servlet, DelegatedFacesServlet
         _facesInitializer = facesInitializer;
     }
 
+    @Override
     public void destroy()
     {
         delegate.destroy();
     }
 
+    @Override
     public ServletConfig getServletConfig()
     {
         return delegate.getServletConfig();
     }
 
+    @Override
     public String getServletInfo()
     {
         return delegate.getServletInfo();
     }
 
-    public void init(ServletConfig servletConfig)
-        throws ServletException
+    @Override
+    public void init(ServletConfig servletConfig) throws ServletException
     {
         ServletContext servletContext = servletConfig.getServletContext();
         
@@ -100,8 +103,8 @@ public class MyFacesServlet implements Servlet, DelegatedFacesServlet
                  + "' initialized.");
     }
     
-    public void service(ServletRequest request, ServletResponse response)
-            throws IOException, ServletException
+    @Override
+    public void service(ServletRequest request, ServletResponse response) throws IOException,
ServletException
     {
         if (log.isLoggable(Level.FINEST))
         {


Mime
View raw message