diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-16 15:20:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-17 08:26:24 +0200 |
commit | 4650b42868c683b5c1ef510dd32f34258cff3cb7 (patch) | |
tree | 7bf270b84ffecbb08c7ce72852510f820205ed11 /qadevOOo | |
parent | 93056481e85548e1228d3b88e53ee59ed983576e (diff) |
java: dodgy &= operation
Change-Id: Ia909797e08948a8ad0e6f536ce2af57880dc13ef
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/frame/_XModuleManager.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java index b5d895d4fa34..48987e6e941d 100644 --- a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java +++ b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java @@ -128,10 +128,8 @@ public class _XModuleManager extends MultiMethodTest { for (int i = 0 ; i < sequenze.length; i++){ try{ log.println("testing '" + sequenze[i].Name + "'"); - if (oObj.identify(sequenze[i].Value).equals( - sequenze[i].Name)){ - ok &= ok; - }else{ + if (!oObj.identify(sequenze[i].Value).equals( + sequenze[i].Name)) { log.println("failure: returned value: '" + oObj.identify(sequenze[i].Value) + "' ,expected value: '" + sequenze[i].Name + "'"); |