From 109818b55c197bd1e058924a3a0bd40d84ebcd28 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sat, 2 Nov 2013 23:20:33 +0200 Subject: [PATCH] bugfix --- .../java/eu/svjatoslav/commons/file/CommonPathResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/svjatoslav/commons/file/CommonPathResolver.java b/src/main/java/eu/svjatoslav/commons/file/CommonPathResolver.java index d3c1f9f..eb32089 100644 --- a/src/main/java/eu/svjatoslav/commons/file/CommonPathResolver.java +++ b/src/main/java/eu/svjatoslav/commons/file/CommonPathResolver.java @@ -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; } -- 2.20.1