From: Peter Bernard West Date: Thu, 13 Jun 2002 15:16:24 +0000 (+0000) Subject: Modifier changes X-Git-Tag: Alt-Design_pre_Properties_split~210 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2550db2cd1ae643492e742283851f968c66da672;p=xmlgraphics-fop.git Modifier changes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@194881 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/datatypes/ColorType.java b/src/org/apache/fop/datatypes/ColorType.java index 82cf95699..81063c21d 100644 --- a/src/org/apache/fop/datatypes/ColorType.java +++ b/src/org/apache/fop/datatypes/ColorType.java @@ -268,7 +268,7 @@ public class ColorType extends AbstractPropertyValue { * @return a float[4] containing the RGB information for * that color. */ - public static synchronized float[] getSystemColor(String name) + public static float[] getSystemColor(String name) throws PropertyException { float syscolor[]; @@ -283,7 +283,7 @@ public class ColorType extends AbstractPropertyValue { * name of the color. * @return a float[4] array representing the normalized color. */ - private static HashMap standardColors; + private static final HashMap standardColors; static { standardColors = new HashMap(16); standardColors.put @@ -328,7 +328,7 @@ public class ColorType extends AbstractPropertyValue { * a reference to the array is returned. * @return a float[4] array representing the normalized color. */ - public static final HashMap systemColors; + private static final HashMap systemColors; static { systemColors = new HashMap(); systemColors.put("aliceblue",