aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault (Ericsson)2013-01-16 21:18:23 (EST)
committerPascal Rapicault2013-01-16 21:20:17 (EST)
commit54da0d0660d5495d1367eba5d5d9aef713493e9d (patch)
treeb62b60975187c9fdfb95878eee169f342b332855
parenta3bdf826a142c133c64c2e6e045f655949422754 (diff)
downloadrt.equinox.framework-54da0d0660d5495d1367eba5d5d9aef713493e9d.zip
rt.equinox.framework-54da0d0660d5495d1367eba5d5d9aef713493e9d.tar.gz
rt.equinox.framework-54da0d0660d5495d1367eba5d5d9aef713493e9d.tar.bz2
Rename constants
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index da7a7f3..16da2f0 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -241,8 +241,8 @@ public class Main {
//for change detection in the base when running in shared install mode
private static final long NO_TIMESTAMP = -1;
- private static final String CONFIG_INI_TIMESTAMP = "configIniTimestamp"; //$NON-NLS-1$
- private static final String BASE_TIMESTAMPS = ".baseTimestamps"; //$NON-NLS-1$
+ private static final String BASE_TIMESTAMP_FILE_CONFIGINI = ".baseConfigIniTimestamp"; //$NON-NLS-1$
+ private static final String KEY_CONFIGINI_TIMESTAMP = "configIniTimestamp"; //$NON-NLS-1$
private static final String PROP_IGNORE_USER_CONFIGURATION = "eclipse.ignoreUserConfiguration"; //$NON-NLS-1$
/**
@@ -1870,16 +1870,16 @@ public class Main {
//Get the timestamp that has been remembered
private long getLastKnownConfigIniBaseTimestamp() {
if (debug)
- System.out.println("Loading timestamp file from:\n\t " + getConfigurationLocation() + " " + BASE_TIMESTAMPS); //$NON-NLS-1$ //$NON-NLS-2$
+ System.out.println("Loading timestamp file from:\n\t " + getConfigurationLocation() + " " + BASE_TIMESTAMP_FILE_CONFIGINI); //$NON-NLS-1$ //$NON-NLS-2$
Properties result;
try {
- result = load(getConfigurationLocation(), BASE_TIMESTAMPS);
+ result = load(getConfigurationLocation(), BASE_TIMESTAMP_FILE_CONFIGINI);
} catch (IOException e) {
if (debug)
System.out.println("\tNo timestamp file found"); //$NON-NLS-1$
return NO_TIMESTAMP;
}
- String timestamp = result.getProperty(CONFIG_INI_TIMESTAMP);
+ String timestamp = result.getProperty(KEY_CONFIGINI_TIMESTAMP);
return Long.parseLong(timestamp);
}