sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: svn commit: r576841 - /incubator/sling/trunk/sling-app/src/main/java/org/apache/sling/launcher/Sling.java
Date Tue, 18 Sep 2007 14:57:55 GMT
fmeschbe@apache.org schrieb:
> @@ -793,7 +874,7 @@
>                  try {
>                      if (is == null && slingHome != null) {
>                          File resFile = new File(file);
> -                        if (!resFile.isAbsolute() ) {
> +                        if (!resFile.isAbsolute()  && slingHome != null) {
I think you don't need the second slingHome check as the first if only
evaluates to true if slingHome is not null.

Carsten

-- 
Carsten Ziegeler
cziegeler@apache.org

Mime
View raw message