From e5bc8b60ecfca09a2014ab7090659f3428c8efa0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 Aug 2014 12:18:20 +0200 Subject: java: variable cannot be null remove null check where null-analyis reveals the variable cannot be null Change-Id: Ied0a24665514bbf68c2ed5f15af9e5c2232a8033 --- jurt/com/sun/star/uno/AnyConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jurt') diff --git a/jurt/com/sun/star/uno/AnyConverter.java b/jurt/com/sun/star/uno/AnyConverter.java index 4e741ba258ec..873deb157da2 100644 --- a/jurt/com/sun/star/uno/AnyConverter.java +++ b/jurt/com/sun/star/uno/AnyConverter.java @@ -621,7 +621,7 @@ public class AnyConverter break; case TypeClass.ENUM_value: if (tc == TypeClass.ENUM_value && - (null == destTClass || destType.equals( type ) /* optional destType */)) + (destType.equals( type ) /* optional destType */)) { return object; } -- cgit