diff --git a/utils/src/main/java/org/opentripplanner/utils/color/ColorUtils.java b/utils/src/main/java/org/opentripplanner/utils/color/ColorUtils.java index ea334391e38..8f0a8ecf7ea 100644 --- a/utils/src/main/java/org/opentripplanner/utils/color/ColorUtils.java +++ b/utils/src/main/java/org/opentripplanner/utils/color/ColorUtils.java @@ -13,7 +13,6 @@ private ColorUtils() {} public static double computeLuminance(Color color) { //gets float of RED, GREEN, BLUE in range 0...1 float[] colorComponents = color.getRGBColorComponents(null); - //Calculates luminance based on https://stackoverflow.com/questions/596216/formula-to-determine-brightness-of-rgb-color double r = linearizeColorComponent(colorComponents[0]); double g = linearizeColorComponent(colorComponents[1]); double b = linearizeColorComponent(colorComponents[2]);