You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2012/06/15 11:55:09 UTC

[2/2] git commit: DELTASPIKE-200 abort final processing on deploymentErrors

DELTASPIKE-200 abort final processing on deploymentErrors


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/54744b72
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/54744b72
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/54744b72

Branch: refs/heads/master
Commit: 54744b7231b2018dab6f893cbc2be88018081b31
Parents: 01d4f0c
Author: Mark Struberg <st...@apache.org>
Authored: Fri Jun 15 10:14:09 2012 +0200
Committer: Mark Struberg <st...@apache.org>
Committed: Fri Jun 15 10:14:09 2012 +0200

----------------------------------------------------------------------
 .../core/impl/message/MessageBundleExtension.java  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/54744b72/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/message/MessageBundleExtension.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/message/MessageBundleExtension.java b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/message/MessageBundleExtension.java
index 11d3bd5..7fb3e28 100644
--- a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/message/MessageBundleExtension.java
+++ b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/message/MessageBundleExtension.java
@@ -202,6 +202,7 @@ public class MessageBundleExtension implements Extension, Deactivatable
         {
             abd.addDefinitionError(new IllegalArgumentException("The following MessageBundle problems where found: " +
                     Arrays.toString(deploymentErrors.toArray())));
+            return;
         }
 
         for (AnnotatedType<?> type : messageBundleTypes)