[Cleanup] Removed TARGET_JVM
[mono.git] / mcs / class / System.Drawing / System.Drawing / ColorConverter.cs
index 7cd02aeae199a75c7159196cbe6fb9c4594c8e60..2a49f6f945bcefdf116a46760938597450620a05 100644 (file)
@@ -225,15 +225,10 @@ namespace System.Drawing
                        lock (creatingCached) {
                                if (cached != null)
                                        return cached;
-#if TARGET_JVM
-                               Color [] colors = new Color [KnownColors.Values.Length - 1];
-                               Array.Copy (KnownColors.Values, 1, colors, 0, colors.Length);
-#else
                                Array colors = Array.CreateInstance (typeof (Color), KnownColors.ArgbValues.Length - 1);
                                for (int i=1; i < KnownColors.ArgbValues.Length; i++) {
                                        colors.SetValue (KnownColors.FromKnownColor ((KnownColor)i), i - 1);
                                }
-#endif
 
                                Array.Sort (colors, 0, colors.Length, new CompareColors ());
                                cached = new StandardValuesCollection (colors);