summaryrefslogtreecommitdiffstats
path: root/compatibility-shared
diff options
context:
space:
mode:
Diffstat (limited to 'compatibility-shared')
-rw-r--r--compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/colorpicker/Color.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/colorpicker/Color.java b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/colorpicker/Color.java
index 5fac0578b3..d4929bb5c7 100644
--- a/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/colorpicker/Color.java
+++ b/compatibility-shared/src/main/java/com/vaadin/v7/shared/ui/colorpicker/Color.java
@@ -348,7 +348,7 @@ public class Color implements Serializable {
red = green = blue = (int) (value * 255.0f + 0.5f);
} else {
float h = (hue - (float) Math.floor(hue)) * 6.0f;
- float f = h - (float) java.lang.Math.floor(h);
+ float f = h - (float) Math.floor(h);
float p = value * (1.0f - saturation);
float q = value * (1.0f - saturation * f);
float t = value * (1.0f - (saturation * (1.0f - f)));