diff options
author | DJ Houghton | 2011-03-24 14:55:54 +0000 |
---|---|---|
committer | DJ Houghton | 2011-03-24 14:55:54 +0000 |
commit | 763782ca468b225ed447bda8d3fafdb579c36e28 (patch) | |
tree | a78c9ed8ae50cc443301e8f4f9746cee8e4c69bb /bundles/org.eclipse.equinox.p2.repository | |
parent | 224ebc099506c0108995335718350ace831cd607 (diff) | |
download | rt.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.java | 2 |
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) { |