tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgallim...@apache.org
Subject [1/3] tomee git commit: Fixes typo
Date Mon, 10 Jul 2017 19:41:26 GMT
Repository: tomee
Updated Branches:
  refs/heads/master be253de04 -> fcf068e13


Fixes typo


Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/40e728b7
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/40e728b7
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/40e728b7

Branch: refs/heads/master
Commit: 40e728b7e463bc94dacf622392d88d5f090b7e5b
Parents: 04ab19b
Author: Otavio Santana <otaviopolianasantana@gmail.com>
Authored: Fri Jul 7 08:33:19 2017 -0300
Committer: Otavio Santana <otaviopolianasantana@gmail.com>
Committed: Fri Jul 7 08:33:19 2017 -0300

----------------------------------------------------------------------
 .../main/java/org/apache/openejb/core/mdb/MdbContainer.java  | 8 ++++----
 .../resources/META-INF/org.apache.openejb/service-jar.xml    | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/40e728b7/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContainer.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContainer.java
b/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContainer.java
index accb996..17943a3 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContainer.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContainer.java
@@ -100,7 +100,7 @@ public class MdbContainer implements RpcContainer {
     private final Class messageListenerInterface;
     private final Class activationSpecClass;
     private final int instanceLimit;
-    private final boolean failOnUnknowActivationSpec;
+    private final boolean failOnUnknownActivationSpec;
 
     private final ConcurrentMap<Object, BeanContext> deployments = new ConcurrentHashMap<Object,
BeanContext>();
     private final XAResourceWrapper xaResourceWrapper;
@@ -108,14 +108,14 @@ public class MdbContainer implements RpcContainer {
 
     public MdbContainer(final Object containerID, final SecurityService securityService,
final ResourceAdapter resourceAdapter,
                         final Class messageListenerInterface, final Class activationSpecClass,
final int instanceLimit,
-                        final boolean failOnUnknowActivationSpec) {
+                        final boolean failOnUnknownActivationSpec) {
         this.containerID = containerID;
         this.securityService = securityService;
         this.resourceAdapter = resourceAdapter;
         this.messageListenerInterface = messageListenerInterface;
         this.activationSpecClass = activationSpecClass;
         this.instanceLimit = instanceLimit;
-        this.failOnUnknowActivationSpec = failOnUnknowActivationSpec;
+        this.failOnUnknownActivationSpec = failOnUnknownActivationSpec;
         xaResourceWrapper = SystemInstance.get().getComponent(XAResourceWrapper.class);
         inboundRecovery = SystemInstance.get().getComponent(InboundRecovery.class);
     }
@@ -262,7 +262,7 @@ public class MdbContainer implements RpcContainer {
             unusedProperties.remove("beanClass");
             if (!unusedProperties.isEmpty()) {
                 final String text = "No setter found for the activation spec properties:
" + unusedProperties;
-                if (failOnUnknowActivationSpec) {
+                if (failOnUnknownActivationSpec) {
                     throw new IllegalArgumentException(text);
                 } else {
                     logger.warning(text);

http://git-wip-us.apache.org/repos/asf/tomee/blob/40e728b7/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml
b/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml
index 36eb8e0..642a7f3 100644
--- a/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml
+++ b/container/openejb-core/src/main/resources/META-INF/org.apache.openejb/service-jar.xml
@@ -469,7 +469,7 @@
           id="Default MDB Container"
           service="Container"
           types="MESSAGE"
-          constructor="id, securityService, ResourceAdapter, MessageListenerInterface, ActivationSpecClass,
InstanceLimit, FailOnUnknowActivationSpec"
+          constructor="id, securityService, ResourceAdapter, MessageListenerInterface, ActivationSpecClass,
InstanceLimit, FailOnUnknownActivationSpec"
           class-name="org.apache.openejb.core.mdb.MdbContainer">
 
     # The resource adapter delivers messages to the container
@@ -491,7 +491,7 @@
 
     # log a warning if true or throw an exception if false is an activation spec can't be
respected
 
-    FailOnUnknowActivationSpec = true
+    FailOnUnknownActivationSpec = true
 
   </ServiceProvider>
 


Mime
View raw message