diff options
Diffstat (limited to 'javaunohelper/test/com/sun/star/lib')
6 files changed, 35 insertions, 35 deletions
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java index 0c517ca68347..5afc6385ea5d 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java @@ -80,7 +80,7 @@ public class ComponentBase_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -114,7 +114,7 @@ public class ComponentBase_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -133,7 +133,7 @@ public class ComponentBase_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Errors occurred!"); else System.out.println("No errors."); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java index 976968f1a6a0..e76825e245d8 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java @@ -94,7 +94,7 @@ public class InterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -114,7 +114,7 @@ public class InterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -135,7 +135,7 @@ public class InterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -155,7 +155,7 @@ public class InterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -194,7 +194,7 @@ public class InterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -229,7 +229,7 @@ public class InterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -915,7 +915,7 @@ public class InterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java index 331c37618b1c..22e664170486 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java @@ -107,7 +107,7 @@ public class MultiTypeInterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -153,7 +153,7 @@ public class MultiTypeInterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -186,7 +186,7 @@ public class MultiTypeInterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -221,7 +221,7 @@ public class MultiTypeInterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -254,7 +254,7 @@ public class MultiTypeInterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -288,7 +288,7 @@ public class MultiTypeInterfaceContainer_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java index c3f950b3031d..8653af4e03be 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java @@ -57,7 +57,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -79,7 +79,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -581,7 +581,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -776,7 +776,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -828,7 +828,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -859,7 +859,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -885,7 +885,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -920,7 +920,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -949,7 +949,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -991,7 +991,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -1025,7 +1025,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -1065,7 +1065,7 @@ public class PropertySet_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Errors occurred!"); else System.out.println("No errors."); @@ -1503,7 +1503,7 @@ class TestClass2 extends PropertySet boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -1566,7 +1566,7 @@ class TestClass2 extends PropertySet boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java index f5408545b6b5..2e48cd99a010 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/ProxyProvider.java @@ -43,7 +43,7 @@ public class ProxyProvider { Object retVal= null; - if (obj == null || iface == null || iface.isInstance(obj) == false ) + if (obj == null || iface == null || !iface.isInstance(obj) ) return retVal; Type type= new Type(TypeDescription.getTypeDescription(iface)); diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java index 6177a82e53db..81806f6b94ac 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java @@ -65,7 +65,7 @@ public class WeakBase_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -99,7 +99,7 @@ public class WeakBase_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -168,7 +168,7 @@ public class WeakBase_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Failed"); else System.out.println("Ok"); @@ -187,7 +187,7 @@ public class WeakBase_Test boolean bOk= true; for (int c= 0; c < i; c++) bOk= bOk && r[c]; - if (bOk == false) + if (!bOk) System.out.println("Errors occurred!"); else System.out.println("No errors."); |