Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8EADC200CC1 for ; Mon, 10 Jul 2017 21:41:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8D517162126; Mon, 10 Jul 2017 19:41:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2FE4161CDE for ; Mon, 10 Jul 2017 21:41:27 +0200 (CEST) Received: (qmail 61074 invoked by uid 500); 10 Jul 2017 19:41:27 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 61016 invoked by uid 99); 10 Jul 2017 19:41:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2017 19:41:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D5497E024D; Mon, 10 Jul 2017 19:41:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jgallimore@apache.org To: commits@tomee.apache.org Date: Mon, 10 Jul 2017 19:41:26 -0000 Message-Id: <3bac41e04f9649c5b7ccfeecc7267830@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/3] tomee git commit: Fixes typo archived-at: Mon, 10 Jul 2017 19:41:28 -0000 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 Authored: Fri Jul 7 08:33:19 2017 -0300 Committer: Otavio Santana 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 deployments = new ConcurrentHashMap(); 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