You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2007/09/19 07:37:35 UTC
svn commit: r577162 -
/incubator/sling/trunk/sling-app/src/main/java/org/apache/sling/launcher/Sling.java
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()) {