From e18597bade3aff84f35614dd3207990cfbb530ff Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Mon, 15 Jul 2013 21:39:19 -0700 Subject: gluegen: remove redundant test for null relativePath We are inside a block where relativePath must be non-null, remove the redundant check Signed-off-by: Harvey Harrison --- src/java/com/jogamp/common/util/IOUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/java/com/jogamp') diff --git a/src/java/com/jogamp/common/util/IOUtil.java b/src/java/com/jogamp/common/util/IOUtil.java index e7db9f6..de5a8ea 100644 --- a/src/java/com/jogamp/common/util/IOUtil.java +++ b/src/java/com/jogamp/common/util/IOUtil.java @@ -716,7 +716,7 @@ public class IOUtil { query = null; } if( null != relativePath ) { - if( null != relativePath && !schemeSpecificPart.endsWith("/") ) { + if( !schemeSpecificPart.endsWith("/") ) { schemeSpecificPart = getParentOf(schemeSpecificPart); } schemeSpecificPart = schemeSpecificPart + relativePath; -- cgit v1.2.3