]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Corrected javadocs
authorAdrian Cumiskey <acumiskey@apache.org>
Wed, 5 Dec 2007 17:11:44 +0000 (17:11 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Wed, 5 Dec 2007 17:11:44 +0000 (17:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@601415 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/properties/ColorProperty.java

index 853a965bbd953accc8495132295f2680d622ea07..d961ec3a305103ac258a459079b9057bf5dcf24c 100644 (file)
@@ -103,12 +103,12 @@ public final class ColorProperty extends Property  {
     }
 
     /**
-     * 
-     * @param value
-     * @return
+     * Returns an instance of a color property given a color
+     * @param color the color value
+     * @return the color property
      */
-    public static ColorProperty getInstance(Color value) {
-        return (ColorProperty) cache.fetch(new ColorProperty(value));
+    public static ColorProperty getInstance(Color color) {
+        return (ColorProperty) cache.fetch(new ColorProperty(color));
     }
     
     /**