diff dwtx/jface/text/revisions/RevisionRange.d @ 162:1a5b8f8129df

...
author Frank Benoit <benoit@tionex.de>
date Mon, 08 Sep 2008 00:51:37 +0200
parents 3678e4f1a766
children
line wrap: on
line diff
--- a/dwtx/jface/text/revisions/RevisionRange.d	Wed Aug 27 14:49:30 2008 +0200
+++ b/dwtx/jface/text/revisions/RevisionRange.d	Mon Sep 08 00:51:37 2008 +0200
@@ -21,7 +21,7 @@
 
 
 import dwt.dwthelper.utils;
-
+import tango.text.convert.Format;
 
 import dwtx.core.runtime.Assert;
 import dwtx.jface.text.source.ILineRange;
@@ -29,7 +29,7 @@
 
 /**
  * An unmodifiable line range that belongs to a {@link Revision}.
- * 
+ *
  * @since 3.3
  * @noinstantiate This class is not intended to be instantiated by clients.
  */
@@ -47,7 +47,7 @@
 
     /**
      * Returns the revision that this range belongs to.
-     * 
+     *
      * @return the revision that this range belongs to
      */
     public Revision getRevision() {
@@ -72,6 +72,6 @@
      * @see java.lang.Object#toString()
      */
     public override String toString() {
-        return "RevisionRange [" + fRevision.toString() + ", [" + getStartLine() + "+" + getNumberOfLines() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+        return Format("RevisionRange [{}, [{}+{})]", fRevision.toString(), getStartLine(), getNumberOfLines()); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
     }
 }