details:   https://code.openbravo.com/erp/devel/pi/rev/06711d4d7d57
changeset: 36017:06711d4d7d57
user:      Carlos Aristu <carlos.aristu <at> openbravo.com>
date:      Thu Jun 06 12:41:37 2019 +0200
summary:   related to issue 41033: use CoreMatchers.allOf instead of 
Matchers.allOf

  Test was not compiling in JDK10+ due to some problem related with generics 
and "Matchers.allOf". Using "CoreMatchers.allOf" instead.

diffstat:

 
modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/CdiInfrastructure.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 41c47dd2afae -r 06711d4d7d57 
modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/CdiInfrastructure.java
--- 
a/modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/CdiInfrastructure.java
   Thu Jun 06 11:42:41 2019 +0200
+++ 
b/modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/CdiInfrastructure.java
   Thu Jun 06 12:41:37 2019 +0200
@@ -19,10 +19,10 @@
 
 package org.openbravo.base.weld.test.testinfrastructure;
 
+import static org.hamcrest.CoreMatchers.allOf;
 import static org.hamcrest.CoreMatchers.equalTo;
 import static org.hamcrest.CoreMatchers.notNullValue;
 import static org.hamcrest.CoreMatchers.nullValue;
-import static org.hamcrest.Matchers.allOf;
 import static org.hamcrest.Matchers.hasItem;
 import static org.hamcrest.Matchers.hasSize;
 import static org.junit.Assert.assertThat;


_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to