X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fcommons%2Ffile%2FCommonPathResolver.java;h=1fa1cfdfbcef01724b805fe99014ea29e2452f3c;hb=cf965fda534cc562368c9f2a3f34475e2519fcdc;hp=81f921325fad134c22f9a13dca5c0fd2d9eed0bc;hpb=6a9352a6edbeaa1a2b3dafc09e91f53ab1871e1c;p=svjatoslav_commons.git diff --git a/src/main/java/eu/svjatoslav/commons/file/CommonPathResolver.java b/src/main/java/eu/svjatoslav/commons/file/CommonPathResolver.java index 81f9213..1fa1cfd 100644 --- a/src/main/java/eu/svjatoslav/commons/file/CommonPathResolver.java +++ b/src/main/java/eu/svjatoslav/commons/file/CommonPathResolver.java @@ -1,6 +1,6 @@ /* * Svjatoslav Commons - shared library of common functionality. - * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * Copyright ©2012-2013, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public License @@ -13,6 +13,10 @@ import java.io.File; public class CommonPathResolver { + /** + * This method tries to guess user desktop directory. Implementation is + * pretty lousy. Need to improve it some day. + */ public static File getDesktopDirectory() { String desktopPath = System.getProperty("user.home") + "/Desktop";