You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2016/09/28 15:47:56 UTC

[1/2] activemq-artemis git commit: ARTEMIS-759 Improve exception message on queue configuration builder

Repository: activemq-artemis
Updated Branches:
  refs/heads/master bd5786e8b -> bfbe68f0c


ARTEMIS-759 Improve exception message on queue configuration builder


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/b4225832
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/b4225832
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/b4225832

Branch: refs/heads/master
Commit: b4225832e0aba30f33d06a499fa7fb4757485fca
Parents: bd5786e
Author: Francesco Nigro <ni...@gmail.com>
Authored: Wed Sep 28 13:45:17 2016 +0200
Committer: Francesco Nigro <ni...@gmail.com>
Committed: Wed Sep 28 13:45:17 2016 +0200

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/core/server/QueueConfig.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b4225832/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/QueueConfig.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/QueueConfig.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/QueueConfig.java
index 64df0da..ce338fe 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/QueueConfig.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/QueueConfig.java
@@ -69,10 +69,10 @@ public final class QueueConfig {
 
       private void validateState() {
          if (isEmptyOrNull(this.name)) {
-            throw new IllegalStateException("name can't be null!");
+            throw new IllegalStateException("name can't be null or empty!");
          }
          if (isEmptyOrNull(this.address)) {
-            throw new IllegalStateException("address can't be null!");
+            throw new IllegalStateException("address can't be null or empty!");
          }
       }
 


[2/2] activemq-artemis git commit: This closes #809

Posted by cl...@apache.org.
This closes #809


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/bfbe68f0
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/bfbe68f0
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/bfbe68f0

Branch: refs/heads/master
Commit: bfbe68f0c9fa093d47b36c418d41c34e712c771c
Parents: bd5786e b422583
Author: Clebert Suconic <cl...@apache.org>
Authored: Wed Sep 28 11:47:47 2016 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Sep 28 11:47:47 2016 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/core/server/QueueConfig.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------