openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1681726 - in /openwebbeans/trunk: webbeans-ee/src/main/java/org/apache/webbeans/ee/event/ webbeans-impl/src/main/java/org/apache/webbeans/config/ webbeans-impl/src/main/java/org/apache/webbeans/el/ webbeans-tomcat6/src/main/java/org/apache...
Date Tue, 26 May 2015 09:21:39 GMT
Author: struberg
Date: Tue May 26 09:21:38 2015
New Revision: 1681726

URL: http://svn.apache.org/r1681726
Log:
OWB-821 make utility classes final

Modified:
    openwebbeans/trunk/webbeans-ee/src/main/java/org/apache/webbeans/ee/event/TransactionalEventNotifier.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefaultAnnotation.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OWBLogConst.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/PropertyLoader.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/el/ELContextStore.java
    openwebbeans/trunk/webbeans-tomcat6/src/main/java/org/apache/webbeans/web/tomcat/TomcatUtil.java
    openwebbeans/trunk/webbeans-tomcat7/src/main/java/org/apache/webbeans/web/tomcat7/TomcatUtil.java
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/util/ServletCompatibilityUtil.java

Modified: openwebbeans/trunk/webbeans-ee/src/main/java/org/apache/webbeans/ee/event/TransactionalEventNotifier.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-ee/src/main/java/org/apache/webbeans/ee/event/TransactionalEventNotifier.java?rev=1681726&r1=1681725&r2=1681726&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-ee/src/main/java/org/apache/webbeans/ee/event/TransactionalEventNotifier.java
(original)
+++ openwebbeans/trunk/webbeans-ee/src/main/java/org/apache/webbeans/ee/event/TransactionalEventNotifier.java
Tue May 26 09:21:38 2015
@@ -35,7 +35,7 @@ import java.util.logging.Level;
 import java.util.logging.Logger;
 
 @SuppressWarnings("unchecked")
-public class TransactionalEventNotifier
+public final class TransactionalEventNotifier
 {
     private static final Logger logger = WebBeansLoggerFacade.getLogger(TransactionalEventNotifier.class);
 

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefaultAnnotation.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefaultAnnotation.java?rev=1681726&r1=1681725&r2=1681726&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefaultAnnotation.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefaultAnnotation.java
Tue May 26 09:21:38 2015
@@ -29,7 +29,7 @@ import java.lang.reflect.Proxy;
  * The annotation literal gets filled with the default values.
  * TODO implement class caching!
  */
-public class DefaultAnnotation implements InvocationHandler, Annotation
+public final class DefaultAnnotation implements InvocationHandler, Annotation
 {
     
     private static final Object[] EMPTY_OBJECT_ARRAY = new Object[0];

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OWBLogConst.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OWBLogConst.java?rev=1681726&r1=1681725&r2=1681726&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OWBLogConst.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OWBLogConst.java
Tue May 26 09:21:38 2015
@@ -22,7 +22,7 @@ package org.apache.webbeans.config;
  * import org.apache.webbeans.config.OWBLogConst;
  */
 
-public class OWBLogConst
+public final class OWBLogConst
 {
     private OWBLogConst()
     {

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/PropertyLoader.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/PropertyLoader.java?rev=1681726&r1=1681725&r2=1681726&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/PropertyLoader.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/PropertyLoader.java
Tue May 26 09:21:38 2015
@@ -38,7 +38,7 @@ import java.util.logging.Logger;
  * greather than 100.</p>
  *
  */
-public class PropertyLoader
+public final class PropertyLoader
 {
     public static final int CONFIGURATION_ORDINAL_DEFAULT_VALUE = 100;
 

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/el/ELContextStore.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/el/ELContextStore.java?rev=1681726&r1=1681725&r2=1681726&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/el/ELContextStore.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/el/ELContextStore.java
Tue May 26 09:21:38 2015
@@ -42,7 +42,7 @@ import javax.enterprise.inject.spi.Bean;
  *  </li>
  * </ol>
  */
-public class ELContextStore
+public final class ELContextStore
 {
     private static ThreadLocal<ELContextStore> contextStores = new ThreadLocal<ELContextStore>();
 

Modified: openwebbeans/trunk/webbeans-tomcat6/src/main/java/org/apache/webbeans/web/tomcat/TomcatUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-tomcat6/src/main/java/org/apache/webbeans/web/tomcat/TomcatUtil.java?rev=1681726&r1=1681725&r2=1681726&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-tomcat6/src/main/java/org/apache/webbeans/web/tomcat/TomcatUtil.java
(original)
+++ openwebbeans/trunk/webbeans-tomcat6/src/main/java/org/apache/webbeans/web/tomcat/TomcatUtil.java
Tue May 26 09:21:38 2015
@@ -70,7 +70,7 @@ public class TomcatUtil
         }
     }
 
-    private static class Instance
+    private final static class Instance
     {
         private Object object;
         private CreationalContext<?> context;

Modified: openwebbeans/trunk/webbeans-tomcat7/src/main/java/org/apache/webbeans/web/tomcat7/TomcatUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-tomcat7/src/main/java/org/apache/webbeans/web/tomcat7/TomcatUtil.java?rev=1681726&r1=1681725&r2=1681726&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-tomcat7/src/main/java/org/apache/webbeans/web/tomcat7/TomcatUtil.java
(original)
+++ openwebbeans/trunk/webbeans-tomcat7/src/main/java/org/apache/webbeans/web/tomcat7/TomcatUtil.java
Tue May 26 09:21:38 2015
@@ -70,7 +70,7 @@ public class TomcatUtil
         }
     }
 
-    private static class Instance
+    private final static class Instance
     {
         private Object object;
         private CreationalContext<?> context;

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/util/ServletCompatibilityUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/util/ServletCompatibilityUtil.java?rev=1681726&r1=1681725&r2=1681726&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/util/ServletCompatibilityUtil.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/util/ServletCompatibilityUtil.java
Tue May 26 09:21:38 2015
@@ -23,7 +23,7 @@ import javax.servlet.ServletContext;
 /**
  * This utility helps to be compatible with Servlet API 2.4
  */
-public class ServletCompatibilityUtil
+public final class ServletCompatibilityUtil
 {
 
     // avoid instantiation



Mime
View raw message