summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 13:11:50 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:19 +0200
commit8f020a45fa69c9458844b8b621df2e0b15ec3d16 (patch)
treed428a990718d1c7f14ab22f058f74daf7ffebacc /javaunohelper
parente5bc8b60ecfca09a2014ab7090659f3428c8efa0 (diff)
java: redundant assignment, variable can only be null
Change-Id: I91209c5c185cf097a1609244419d73d4757d7d18
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java2
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)