activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: Fix getter and setter validation test
Date Mon, 11 Apr 2016 20:53:16 GMT
Fix getter and setter validation test


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

Branch: refs/heads/master
Commit: b5ffda4701d5e864e3991200df4406a7f8be92ac
Parents: 3912554
Author: Ville Skyttä <ville.skytta@iki.fi>
Authored: Sun Apr 10 12:37:39 2016 +0300
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon Apr 11 16:53:10 2016 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b5ffda47/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java
b/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java
index 3581924..4fd98db 100644
--- a/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java
+++ b/artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/ActiveMQTestBase.java
@@ -1050,7 +1050,7 @@ public abstract class ActiveMQTestBase extends Assert {
          if (value != null && prop.getWriteMethod() != null && prop.getReadMethod()
== null) {
             System.out.println("WriteOnly property " + prop.getName() + " on " + pojo.getClass());
          }
-         else if (value != null & prop.getWriteMethod() != null &&
+         else if (value != null && prop.getWriteMethod() != null &&
             prop.getReadMethod() != null &&
             !ignoreSet.contains(prop.getName())) {
             System.out.println("Validating " + prop.getName() + " type = " + prop.getPropertyType());


Mime
View raw message