Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2010-06-21 17:21:38 -0400
committerDJ Houghton2010-06-21 17:21:38 -0400
commit473766bcdc89479b160209b56f189496743372a2 (patch)
treeee02f4eb0b61337eb8d2e6683416ec9738c23967 /bundles/org.eclipse.equinox.p2.touchpoint.eclipse
parent0b4bd057b25ea71910157f679dd13aaf5be1b623 (diff)
downloadrt.equinox.p2-473766bcdc89479b160209b56f189496743372a2.tar.gz
rt.equinox.p2-473766bcdc89479b160209b56f189496743372a2.tar.xz
rt.equinox.p2-473766bcdc89479b160209b56f189496743372a2.zip
Bug 317519 - [reconciler] Second startup after update also slow
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.touchpoint.eclipse')
-rw-r--r--bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java
index 7ee7ae534..be55efdb3 100644
--- a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/update/ConfigurationWriter.java
@@ -12,8 +12,7 @@ package org.eclipse.equinox.internal.p2.update;
import java.io.*;
import java.net.*;
-import java.util.HashMap;
-import java.util.Map;
+import java.util.*;
import org.eclipse.core.runtime.*;
import org.eclipse.equinox.internal.p2.core.helpers.LogHelper;
import org.eclipse.equinox.internal.p2.core.helpers.URLUtil;
@@ -36,11 +35,10 @@ public class ConfigurationWriter implements ConfigurationConstants {
writer = new XMLWriter(output);
Map<String, String> args = new HashMap<String, String>();
- String value = configuration.getDate();
- if (value != null)
- args.put(ATTRIBUTE_DATE, value);
+ // always write out an up-to-date timestamp
+ args.put(ATTRIBUTE_DATE, Long.toString(new Date().getTime()));
- value = configuration.getSharedUR();
+ String value = configuration.getSharedUR();
if (value != null)
args.put(ATTRIBUTE_SHARED_UR, value);

Back to the top