Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2010-07-20 13:51:17 -0400
committerAndrew Niefer2010-07-20 13:51:17 -0400
commitd056023000fc8636230914d4f323137dacb58258 (patch)
tree408ef55e20f211dae0db08ec9b64e8513508fdf7 /bundles/org.eclipse.equinox.p2.artifact.repository
parent1f82149ad307bd932a5d1b82cfe130d6728ce1d6 (diff)
downloadrt.equinox.p2-d056023000fc8636230914d4f323137dacb58258.tar.gz
rt.equinox.p2-d056023000fc8636230914d4f323137dacb58258.tar.xz
rt.equinox.p2-d056023000fc8636230914d4f323137dacb58258.zip
bug 318938 - MirrorSelector uses 1.5 methods
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.artifact.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorSelector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorSelector.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorSelector.java
index 1fbd11df8..43eefdcd0 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorSelector.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/MirrorSelector.java
@@ -44,7 +44,7 @@ public class MirrorSelector {
private static final long PRIMARY_FAILURE_LINGER_TIME = 30000; // Retry again after 30 seconds
private static final long SECONDARY_FAILURE_LINGER_TIME = 300000; // Wait 5 minutes
private static final int ACCEPTABLE_FILE_NOT_FOUND_COUNT = 5; // Given an established connection, those are generally quick
- private static final Timer resetFailure = new Timer("Mirror failure timer", true); //$NON-NLS-1$
+ private static final Timer resetFailure = new Timer(true);
long bytesPerSecond;
int failureCount;

Back to the top