Mercurial > projects > dwt-addons
diff dwtx/jface/text/revisions/Revision.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/Revision.d Wed Aug 27 14:49:30 2008 +0200 +++ b/dwtx/jface/text/revisions/Revision.d Mon Sep 08 00:51:37 2008 +0200 @@ -40,7 +40,7 @@ */ public abstract class Revision { /** The original list of change regions, element type: {@link ChangeRegion}. */ - private const List fChangeRegions= new ArrayList(); + private const List fChangeRegions; /** * The cached list of adjusted ranges, element type: {@link RevisionRange}. <code>null</code> * if the list must be re-computed. Unmodifiable. @@ -53,6 +53,7 @@ * Creates a new revision. */ protected this() { + fChangeRegions= new ArrayList(); } /** @@ -151,7 +152,7 @@ * @see java.lang.Object#toString() */ public override String toString() { - return "Revision " + getId(); //$NON-NLS-1$ + return "Revision " ~ getId(); //$NON-NLS-1$ } /**