From 10bd7544fd22dccd7e8e32cb236eb50f102892d3 Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Thu, 26 Oct 2017 13:26:20 +0200 Subject: Improve naming of fields and variables (#10242) * Variable names to conform to naming convention. * Use static constants where it makes sense --- .../src/main/java/com/vaadin/v7/shared/ui/colorpicker/Color.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compatibility-shared/src/main/java') 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 d4929bb5c7..2a6a6a1213 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 @@ -39,7 +39,7 @@ public class Color implements Serializable { private int blue; private int alpha; - private String OUTOFRANGE = "Value must be within the range [0-255]. Was: "; + private static final String OUTOFRANGE = "Value must be within the range [0-255]. Was: "; /** * Creates a color that has the specified red, green, blue, and alpha values -- cgit v1.2.3