]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Correct link to replacement.
authorJeremias Maerki <jeremias@apache.org>
Tue, 18 Jan 2011 16:59:18 +0000 (16:59 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 18 Jan 2011 16:59:18 +0000 (16:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060466 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/util/ColorExt.java

index b87882d99d6a523e20be6e1c76c9c1dcf38c1403..bd4aee340d193cb5293aa2417fff61fa63caf1cb 100644 (file)
@@ -23,13 +23,16 @@ import java.awt.Color;
 import java.awt.color.ColorSpace;
 import java.util.Arrays;
 
+import org.apache.xmlgraphics.java2d.color.ColorWithAlternatives;
+
 /**
  * Color helper class.
  * <p>
  * This class extends java.awt.Color class keeping track of the original color
  * property values specified by the fo user in a rgb-icc call.
- * @deprecated Replaced by {@link ColorWithFallback}
+ * @deprecated Replaced by {@link ColorWithAlternatives}
  */
+@Deprecated
 public final class ColorExt extends Color {
     //
     private static final long serialVersionUID = 1L;
@@ -137,12 +140,14 @@ public final class ColorExt extends Color {
     }
 
     /** {@inheritDoc} */
+    @Override
     public int hashCode() {
         //implementation from the superclass should be good enough for our purposes
         return super.hashCode();
     }
 
     /** {@inheritDoc} */
+    @Override
     public boolean equals(Object obj) {
         if (this == obj) {
             return true;