bugfix
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 2 Nov 2013 21:20:33 +0000 (23:20 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 2 Nov 2013 21:20:33 +0000 (23:20 +0200)
src/main/java/eu/svjatoslav/commons/file/CommonPathResolver.java

index d3c1f9f..eb32089 100644 (file)
@@ -43,7 +43,7 @@ public class CommonPathResolver {
                        final String desktopPath = userHomePath + "/" + desktopName;
 
                        final File possibleDesktopFile = new File(desktopPath);
-                       if (desktopFile.exists()) {
+                       if (possibleDesktopFile.exists()) {
                                desktopFile = possibleDesktopFile;
                                return desktopFile;
                        }