xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r1051422 - /xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/java2d/color/DeviceCMYKColorSpace.java
Date Tue, 21 Dec 2010 09:00:23 GMT
Author: jeremias
Date: Tue Dec 21 09:00:22 2010
New Revision: 1051422

URL: http://svn.apache.org/viewvc?rev=1051422&view=rev
Log:
Restore backwards compatibility temporarily.

Modified:
    xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/java2d/color/DeviceCMYKColorSpace.java

Modified: xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/java2d/color/DeviceCMYKColorSpace.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/java2d/color/DeviceCMYKColorSpace.java?rev=1051422&r1=1051421&r2=1051422&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/java2d/color/DeviceCMYKColorSpace.java
(original)
+++ xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/java2d/color/DeviceCMYKColorSpace.java
Tue Dec 21 09:00:22 2010
@@ -42,6 +42,16 @@ public class DeviceCMYKColorSpace extend
         super(TYPE_CMYK, 4);
     }
 
+    /**
+     * Returns an instance of an uncalibrated CMYK color space.
+     * @return CMYKColorSpace the requested color space object
+     * @deprecated Use {@link ColorSpaces#getDeviceCMYKColorSpace()} instead.
+     */
+    @Deprecated
+    public static DeviceCMYKColorSpace getInstance() {
+        return ColorSpaces.getDeviceCMYKColorSpace();
+    }
+
     /** {@inheritDoc} */
     @Override
     public float[] toRGB(float[] colorvalue) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message