diff dwtx/jface/text/revisions/Revision.d @ 158:25f1f92fa3df

...
author Frank Benoit <benoit@tionex.de>
date Tue, 26 Aug 2008 02:46:34 +0200
parents f70d9508c95c
children 3678e4f1a766
line wrap: on
line diff
--- a/dwtx/jface/text/revisions/Revision.d	Mon Aug 25 19:06:44 2008 +0200
+++ b/dwtx/jface/text/revisions/Revision.d	Tue Aug 26 02:46:34 2008 +0200
@@ -21,12 +21,8 @@
 
 
 import dwt.dwthelper.utils;
-
 import dwtx.dwtxhelper.Collection;
-
-import java.util.Date;
-
-
+import dwtx.dwtxhelper.Date;
 
 import dwt.graphics.RGB;
 import dwtx.jface.internal.text.revisions.ChangeRegion;
@@ -39,7 +35,7 @@
  * <p>
  * Clients may subclass.
  * </p>
- * 
+ *
  * @since 3.2
  */
 public abstract class Revision {
@@ -48,7 +44,7 @@
     /**
      * The cached list of adjusted ranges, element type: {@link RevisionRange}. <code>null</code>
      * if the list must be re-computed. Unmodifiable.
-     * 
+     *
      * @since 3.3
      */
     private List fRanges= null;
@@ -62,7 +58,7 @@
     /**
      * Adds a line range to this revision. The range must be non-empty and have a legal start line
      * (not -1).
-     * 
+     *
      * @param range a line range that was changed with this revision
      * @throws IndexOutOfBoundsException if the line range is empty or has a negative start line
      */
@@ -74,7 +70,7 @@
      * Returns the contained {@link RevisionRange}s adapted to the current diff state. The returned
      * information is only valid at the moment it is returned, and may change as the annotated
      * document is modified.
-     * 
+     *
      * @return an unmodifiable view of the contained ranges (element type: {@link RevisionRange})
      */
     public final List getRegions() {
@@ -95,7 +91,7 @@
     /**
      * Adjusts the revision information to the given diff information. Any previous diff information
      * is discarded.
-     * 
+     *
      * @param hunks the diff hunks to adjust the revision information to
      * @since 3.3
      */
@@ -119,7 +115,7 @@
      * must be able process the given object. If the default information control creator is used
      * the supported format is simple text, full HTML or an HTML fragment.
      * </p>
-     * 
+     *
      * @return the hover information for this revision or <code>null</code> for no hover
      * @see RevisionInformation#setHoverControlCreator(IInformationControlCreator)
      */
@@ -131,7 +127,7 @@
      * <p>
      * Revisions from the same author must return the same color and revisions from different authors
      * must return distinct colors.</p>
-     * 
+     *
      * @return the RGB color for this revision's author
      */
     public abstract RGB getColor();
@@ -139,14 +135,14 @@
     /**
      * Returns the unique (within the document) id of this revision. This may be the version string
      * or a different identifier.
-     * 
+     *
      * @return the id of this revision
      */
     public abstract String getId();
 
     /**
      * Returns the modification date of this revision.
-     * 
+     *
      * @return the modification date of this revision
      */
     public abstract Date getDate();
@@ -163,7 +159,7 @@
      * <p>
      * Subclasses should replace - the default implementation returns the empty string.
      * </p>
-     * 
+     *
      * @return the author name
      * @since 3.3
      */