aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-07-15 21:39:19 -0700
committerHarvey Harrison <[email protected]>2013-07-15 21:39:19 -0700
commite18597bade3aff84f35614dd3207990cfbb530ff (patch)
tree9211ad87ac8d7d7039cf70b9b1ec2f1ad927ec03 /src/java/com
parent9fc9765b67f3ef47904e26154d6ef1519a565e41 (diff)
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 <[email protected]>
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/jogamp/common/util/IOUtil.java2
1 files changed, 1 insertions, 1 deletions
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;