summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/communication/URLReference.java10
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/colorpicker/Color.java2
2 files changed, 6 insertions, 6 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/communication/URLReference.java b/shared/src/main/java/com/vaadin/shared/communication/URLReference.java
index 0b993a196d..cd7b26a8e2 100644
--- a/shared/src/main/java/com/vaadin/shared/communication/URLReference.java
+++ b/shared/src/main/java/com/vaadin/shared/communication/URLReference.java
@@ -19,7 +19,7 @@ import java.io.Serializable;
public class URLReference implements Serializable {
- private String URL;
+ private String url;
/**
* Returns the URL that this object refers to.
@@ -29,15 +29,15 @@ public class URLReference implements Serializable {
* @return The URL for this reference or null if unknown.
*/
public String getURL() {
- return URL;
+ return url;
}
/**
* Sets the URL that this object refers to.
*
- * @param URL
+ * @param url
*/
- public void setURL(String URL) {
- this.URL = URL;
+ public void setURL(String url) {
+ this.url = url;
}
}
diff --git a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/Color.java b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/Color.java
index b52453cda1..bf21a7311b 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/colorpicker/Color.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/colorpicker/Color.java
@@ -38,7 +38,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