diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 13:11:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-08 09:48:19 +0200 |
commit | 8f020a45fa69c9458844b8b621df2e0b15ec3d16 (patch) | |
tree | d428a990718d1c7f14ab22f058f74daf7ffebacc /javaunohelper/com | |
parent | e5bc8b60ecfca09a2014ab7090659f3428c8efa0 (diff) |
java: redundant assignment, variable can only be null
Change-Id: I91209c5c185cf097a1609244419d73d4757d7d18
Diffstat (limited to 'javaunohelper/com')
-rw-r--r-- | javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java index 3f84fb3f9a4d..fb2c6e105e20 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java @@ -722,7 +722,7 @@ XMultiPropertySet //The member that keeps the value of the Property is an Object.Objects are similar to Anys in that they can // hold all types. if (obj == null || (obj instanceof Any && ((Any) obj).getObject() == null)) - retVal= null; + {} else if(cl.equals(Object.class)) { if (obj instanceof Any) |