aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-shared
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-10-26 13:26:20 +0200
committerPekka Maanpää <pekkamaa@vaadin.com>2017-10-26 14:26:20 +0300
commit10bd7544fd22dccd7e8e32cb236eb50f102892d3 (patch)
treed0e6f2241dc2b612a0deeceeb30399e88e47ed6a /compatibility-shared
parent7c8f440781835dbcf72bfbc47ab8be2f669a40e4 (diff)
downloadvaadin-framework-10bd7544fd22dccd7e8e32cb236eb50f102892d3.tar.gz
vaadin-framework-10bd7544fd22dccd7e8e32cb236eb50f102892d3.zip
Improve naming of fields and variables (#10242)
* Variable names to conform to naming convention. * Use static constants where it makes sense
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 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