From 8f020a45fa69c9458844b8b621df2e0b15ec3d16 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 Aug 2014 13:11:50 +0200 Subject: java: redundant assignment, variable can only be null Change-Id: I91209c5c185cf097a1609244419d73d4757d7d18 --- javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javaunohelper/com/sun') 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) -- cgit