incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r577162 - /incubator/sling/trunk/sling-app/src/main/java/org/apache/sling/launcher/Sling.java
Date Wed, 19 Sep 2007 05:37:35 GMT
Author: fmeschbe
Date: Tue Sep 18 22:37:32 2007
New Revision: 577162

URL: http://svn.apache.org/viewvc?rev=577162&view=rev
Log:
Remove the superfluous null check again ....

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=577162&r1=577161&r2=577162&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 Tue
Sep 18 22:37:32 2007
@@ -874,7 +874,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