using constants for action commands, rename some other constants

This commit is contained in:
Honfika
2013-12-17 17:45:19 +01:00
parent 9318109a7d
commit 1bd2e12aca
11 changed files with 305 additions and 237 deletions

View File

@@ -203,7 +203,7 @@ public class Configuration {
} catch (SecurityException ignore) {
}
if (userHome != null) {
String applicationId = ApplicationInfo.shortApplicationName;
String applicationId = ApplicationInfo.SHORT_APPLICATION_NAME;
OSId osId = getOSId();
if (osId == OSId.WINDOWS) {
File appDataDir = null;
@@ -214,7 +214,7 @@ public class Configuration {
}
} catch (SecurityException ignore) {
}
String vendorId = ApplicationInfo.vendor;
String vendorId = ApplicationInfo.VENDOR;
if ((appDataDir != null) && appDataDir.isDirectory()) {
// ${APPDATA}\{vendorId}\${applicationId}
String path = vendorId + "\\" + applicationId + "\\";