openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1734952 - in /openwebbeans/trunk: webbeans-impl/src/main/java/org/apache/webbeans/config/ webbeans-impl/src/main/resources/META-INF/openwebbeans/ webbeans-web/src/main/resources/META-INF/openwebbeans/
Date Mon, 14 Mar 2016 16:06:15 GMT
Author: struberg
Date: Mon Mar 14 16:06:14 2016
New Revision: 1734952

URL: http://svn.apache.org/viewvc?rev=1734952&view=rev
Log:
fix typos and remove unused stuff

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java
    openwebbeans/trunk/webbeans-impl/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
    openwebbeans/trunk/webbeans-web/src/main/resources/META-INF/openwebbeans/openwebbeans.properties

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java?rev=1734952&r1=1734951&r2=1734952&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OpenWebBeansConfiguration.java
Mon Mar 14 16:06:14 2016
@@ -117,7 +117,7 @@ public class OpenWebBeansConfiguration
     public static final String PRODUCER_INTERCEPTION_SUPPORT = "org.apache.webbeans.application.supportsProducerInterception";
 
     /**EL Adaptor*/
-    public static final String EL_ADAPTOR_CLASS = "org.apache.webbeans.spi.adaptor.ELAdaptor";
+    public static final String EL_ADAPTOR_SERVICE = "org.apache.webbeans.spi.adaptor.ELAdaptor";
 
     /** prefix followed by the fully qualified scope name, for configuring InterceptorHandlers
for our proxies.*/
     public static final String PROXY_MAPPING_PREFIX = "org.apache.webbeans.proxy.mapping.";
@@ -135,10 +135,11 @@ public class OpenWebBeansConfiguration
     public static final String SCAN_EXCLUSION_PATHS = "org.apache.webbeans.scanExclusionPaths";
 
     /**
-     * Flag which indicates that only jars with an explicit META-INF/beans.xml marker file
shall get paresed.
+     * Flag which indicates that only jars with an explicit META-INF/beans.xml marker file
shall get parsed.
      * Default is {@code false}
      */
     public static final String SCAN_ONLY_BEANS_XML_JARS = "org.apache.webbeans.scanBeansXmlOnly";
+
     /**
      * a comma-separated list of fully qualified class names that should be ignored
      * when determining if a decorator matches its delegate.  These are typically added by
@@ -166,7 +167,7 @@ public class OpenWebBeansConfiguration
      * The default is set to "1.6" as some tools in jetty/tomcat/etc still
      * cannot properly handle Java8 (mostly due to older Eclipse JDT versions).
      */
-    public static final String GENERATOR_JAVA_VERSIN = "org.apache.webbeans.generator.javaVersion";
+    public static final String GENERATOR_JAVA_VERSION = "org.apache.webbeans.generator.javaVersion";
 
 
     /**Default configuration files*/
@@ -455,12 +456,12 @@ public class OpenWebBeansConfiguration
 
     public boolean supportsInterceptionOnProducers()
     {
-        return "true".equals(getProperty(PRODUCER_INTERCEPTION_SUPPORT, "true"));
+        return Boolean.parseBoolean(getProperty(PRODUCER_INTERCEPTION_SUPPORT, "true"));
     }
 
     public String getGeneratorJavaVersion()
     {
-        String generatorJavaVersion = getProperty(GENERATOR_JAVA_VERSIN);
+        String generatorJavaVersion = getProperty(GENERATOR_JAVA_VERSION);
         if (generatorJavaVersion == null || AUTO_CONFIG.equals(generatorJavaVersion))
         {
             return System.getProperty("java.version");

Modified: openwebbeans/trunk/webbeans-impl/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/resources/META-INF/openwebbeans/openwebbeans.properties?rev=1734952&r1=1734951&r2=1734952&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
Mon Mar 14 16:06:14 2016
@@ -93,12 +93,6 @@ org.apache.webbeans.spi.deployer.useEjbM
 # org.apache.webbeans.forceNoCheckedExceptions=true
 ################################################################################################
 
-################################## OWB Specific Injection ######################################
-#If false, uses spec. defined injection with @Inject. Not recommended use as true.
-#It will be removed in future development.
-org.apache.webbeans.fieldInjection.useOwbSpecificInjection=false
-################################################################################################
-
 ################################# Conversation Support #########################################
 org.apache.webbeans.application.supportsConversation=false
 ################################################################################################

Modified: openwebbeans/trunk/webbeans-web/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/resources/META-INF/openwebbeans/openwebbeans.properties?rev=1734952&r1=1734951&r2=1734952&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/resources/META-INF/openwebbeans/openwebbeans.properties
Mon Mar 14 16:06:14 2016
@@ -55,7 +55,7 @@ org.apache.webbeans.application.jsp=fals
 org.apache.webbeans.spi.ConversationService=org.apache.webbeans.web.context.WebConversationService
 ################################################################################################
 
-################################## Application Development is JSP ##############################
+################################## Conversation Support ########################################
 # Whether conversations are supported or not
 # In webapps we now support conversations by default
 org.apache.webbeans.application.supportsConversation=true



Mime
View raw message