From: Jeremias Maerki Date: Tue, 18 Jan 2011 16:59:18 +0000 (+0000) Subject: Correct link to replacement. X-Git-Tag: fop-1_1rc1old~290^2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=abbe9fc809ec01cbefa062352c3fba4778ac7dd3;p=xmlgraphics-fop.git Correct link to replacement. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060466 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/util/ColorExt.java b/src/java/org/apache/fop/util/ColorExt.java index b87882d99..bd4aee340 100644 --- a/src/java/org/apache/fop/util/ColorExt.java +++ b/src/java/org/apache/fop/util/ColorExt.java @@ -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. *

* 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;