diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 12:07:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-14 10:59:49 +0200 |
commit | f7bd0edb9e8e3dfbb4e085b100042a7749a2e7a5 (patch) | |
tree | 2c6eca54a2a4205ed92c6f0dcb9f96bc72dd30aa /javaunohelper/test/com/sun/star | |
parent | 0d916bb240dee671a06057d2ff7fbf9a4b94e8f3 (diff) |
java: remove useless instanceof tests
Change-Id: Idb058179f90ddbe5157d564ed5f9c9168898fb0c
Diffstat (limited to 'javaunohelper/test/com/sun/star')
-rw-r--r-- | javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 7b02e62e1d82..7736438d1534 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 @@ -1243,13 +1243,13 @@ class TestClass extends PropertySet value= new Object(); // TypeClass.VOID r[i++]= convertPropertyValue(propObjectA, outNewVal, outOldVal, value); - r[i++]= outNewVal[0] instanceof Object && outNewVal[0].equals(value); + r[i++]= outNewVal[0].equals(value); value= new Integer(111); r[i++]= convertPropertyValue(propObjectA, outNewVal, outOldVal, value); r[i++]= outNewVal[0] instanceof Integer && outNewVal[0].equals(value); value= new ComponentBase(); r[i++]= convertPropertyValue(propObjectA, outNewVal, outOldVal, value); - r[i++]= outNewVal[0] instanceof Object && outNewVal[0].equals(value); + r[i++]= outNewVal[0].equals(value); value= new Integer(111); r[i++]= convertPropertyValue(propAnyA, outNewVal, outOldVal, value); r[i++]= outNewVal[0] instanceof Any && ((Any)outNewVal[0]).getType().equals(new Type(Integer.class)) |