sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r575652 - /incubator/sling/trunk/sling-app/src/main/java/org/apache/sling/launcher/Sling.java
Date Fri, 14 Sep 2007 12:24:35 GMT
Author: cziegeler
Date: Fri Sep 14 05:24:34 2007
New Revision: 575652

URL: http://svn.apache.org/viewvc?rev=575652&view=rev
Log:
Remove redunant null check.

Modified:
    incubator/sling/trunk/sling-app/src/main/java/org/apache/sling/launcher/Sling.java

Modified: incubator/sling/trunk/sling-app/src/main/java/org/apache/sling/launcher/Sling.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling-app/src/main/java/org/apache/sling/launcher/Sling.java?rev=575652&r1=575651&r2=575652&view=diff
==============================================================================
--- incubator/sling/trunk/sling-app/src/main/java/org/apache/sling/launcher/Sling.java (original)
+++ incubator/sling/trunk/sling-app/src/main/java/org/apache/sling/launcher/Sling.java Fri
Sep 14 05:24:34 2007
@@ -795,7 +795,7 @@
                 try {
                     if (is == null && slingHome != null) {
                         File resFile = new File(file);
-                        if (!resFile.isAbsolute() && slingHome != null) {
+                        if (!resFile.isAbsolute() ) {
                             resFile = new File(slingHome, file);
                         }
                         if (resFile.canRead()) {



Mime
View raw message