tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgallim...@apache.org
Subject [11/14] tomee git commit: Fixes miss spell
Date Mon, 10 Jul 2017 15:21:58 GMT
Fixes miss spell


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

Branch: refs/heads/tomee-1.7.x
Commit: 18bfd91c77ef890cc8270ca2cb8dc8fa6e03f09a
Parents: 40538bb
Author: Otavio Santana <otaviopolianasantana@gmail.com>
Authored: Thu Jul 6 15:47:58 2017 -0300
Committer: Otavio Santana <otaviopolianasantana@gmail.com>
Committed: Thu Jul 6 15:47:58 2017 -0300

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


http://git-wip-us.apache.org/repos/asf/tomee/blob/18bfd91c/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 272d95f..7e71939 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
@@ -104,10 +104,10 @@ public class MdbContainer implements RpcContainer {
     private final ConcurrentMap<Object, BeanContext> deployments = new ConcurrentHashMap<Object,
BeanContext>();
     private final XAResourceWrapper xaResourceWrapper;
     private final InboundRecovery inboundRecovery;
-    private final boolean failOnUnknowActivationSpec;
+    private final boolean failOnUnknownActivationSpec;
 
     public MdbContainer(final Object containerID, final SecurityService securityService,
final ResourceAdapter resourceAdapter, final Class messageListenerInterface,
-                        final Class activationSpecClass, final int instanceLimit, final boolean
failOnUnknowActivationSpec) {
+                        final Class activationSpecClass, final int instanceLimit, final boolean
failOnUnknownActivationSpec) {
         this.containerID = containerID;
         this.securityService = securityService;
         this.resourceAdapter = resourceAdapter;
@@ -116,7 +116,7 @@ public class MdbContainer implements RpcContainer {
         this.instanceLimit = instanceLimit;
         xaResourceWrapper = SystemInstance.get().getComponent(XAResourceWrapper.class);
         inboundRecovery = SystemInstance.get().getComponent(InboundRecovery.class);
-        this.failOnUnknowActivationSpec = failOnUnknowActivationSpec;
+        this.failOnUnknownActivationSpec = failOnUnknownActivationSpec;
     }
 
     public BeanContext[] getBeanContexts() {
@@ -258,7 +258,7 @@ public class MdbContainer implements RpcContainer {
             unusedProperties.remove("beanClass");
             if (!unusedProperties.isEmpty()) {
                 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/18bfd91c/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 94cf117..25b841e 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
@@ -461,7 +461,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
@@ -483,7 +483,7 @@
 
     # log a warning if false or throw an exception if true is an activation spec can't be
respected
 
-    FailOnUnknowActivationSpec = true
+    FailOnUnknownActivationSpec = true
 
   </ServiceProvider>
 

http://git-wip-us.apache.org/repos/asf/tomee/blob/18bfd91c/container/openejb-core/src/test/resources/META-INF/org.apache.openejb.actpropfalse/service-jar.xml
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/test/resources/META-INF/org.apache.openejb.actpropfalse/service-jar.xml
b/container/openejb-core/src/test/resources/META-INF/org.apache.openejb.actpropfalse/service-jar.xml
index 030deeb..ddcfe1f 100644
--- a/container/openejb-core/src/test/resources/META-INF/org.apache.openejb.actpropfalse/service-jar.xml
+++ b/container/openejb-core/src/test/resources/META-INF/org.apache.openejb.actpropfalse/service-jar.xml
@@ -54,7 +54,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
@@ -76,7 +76,7 @@
 
         # log a warning if true or throw an exception if false is an activation spec can't
be respected
 
-        FailOnUnknowActivationSpec = false
+        FailOnUnknownActivationSpec = false
 
     </ServiceProvider>
 </ServiceJar>
\ No newline at end of file


Mime
View raw message