Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2011-03-24 14:55:54 +0000
committerDJ Houghton2011-03-24 14:55:54 +0000
commit763782ca468b225ed447bda8d3fafdb579c36e28 (patch)
treea78c9ed8ae50cc443301e8f4f9746cee8e4c69bb /bundles/org.eclipse.equinox.p2.repository
parent224ebc099506c0108995335718350ace831cd607 (diff)
downloadrt.equinox.p2-763782ca468b225ed447bda8d3fafdb579c36e28.tar.gz
rt.equinox.p2-763782ca468b225ed447bda8d3fafdb579c36e28.tar.xz
rt.equinox.p2-763782ca468b225ed447bda8d3fafdb579c36e28.zip
Bug 338560 - Plugin install dialogs are have an unusably long status line
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/ProgressStatistics.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/ProgressStatistics.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/ProgressStatistics.java
index c08315a26..08b25ebd0 100644
--- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/ProgressStatistics.java
+++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/ProgressStatistics.java
@@ -128,7 +128,7 @@ public class ProgressStatistics {
String uriString = m_uri.toString();
if (uriString.endsWith(m_fileName))
uriString = uriString.substring(0, uriString.lastIndexOf(m_fileName));
- return m_total != -1 ? NLS.bind(Messages.fetching_0_from_1_2_of_3_at_4, new String[] {m_fileName, uriString, convert(m_current), convert(m_total), convert(getRecentSpeed())}) : NLS.bind(Messages.fetching_0_from_1_2_at_3, new String[] {m_fileName, m_uri.toString(), convert(m_current), convert(getRecentSpeed())});
+ return m_total != -1 ? NLS.bind(Messages.fetching_0_from_1_2_of_3_at_4, new String[] {m_fileName, uriString, convert(m_current), convert(m_total), convert(getRecentSpeed())}) : NLS.bind(Messages.fetching_0_from_1_2_at_3, new String[] {m_fileName, uriString, convert(m_current), convert(getRecentSpeed())});
}
public void setReportInterval(int reportInterval) {

Back to the top