aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-server/src/main/java/com/vaadin/v7/util/SerializerHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'compatibility-server/src/main/java/com/vaadin/v7/util/SerializerHelper.java')
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/util/SerializerHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/util/SerializerHelper.java b/compatibility-server/src/main/java/com/vaadin/v7/util/SerializerHelper.java
index 62452e974d..984783b38e 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/util/SerializerHelper.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/util/SerializerHelper.java
@@ -107,7 +107,7 @@ public class SerializerHelper {
* List of primitive classes. Google App Engine has problems
* serializing/deserializing these (#3064).
*/
- private static final Class<?>[] primitiveClasses = {
+ private static final Class<?>[] PRIMITIVE_CLASSES = {
byte.class, short.class, int.class, long.class, float.class,
double.class, boolean.class, char.class };
@@ -122,7 +122,7 @@ public class SerializerHelper {
*/
public static Class<?> resolveClass(String className)
throws ClassNotFoundException {
- for (Class<?> c : primitiveClasses) {
+ for (Class<?> c : PRIMITIVE_CLASSES) {
if (className.equals(c.getName())) {
return c;
}