summaryrefslogtreecommitdiffstats
path: root/compatibility-server/src
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-22 11:44:16 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-22 12:44:16 +0300
commit23718371f820fb3babca2c57072a62137aa2c01d (patch)
tree3946a0bcde21d517bcc8b57921cae505f297d81a /compatibility-server/src
parentb07fc07ce90c12a191e0d425ae7a90f2ba690d3e (diff)
downloadvaadin-framework-23718371f820fb3babca2c57072a62137aa2c01d.tar.gz
vaadin-framework-23718371f820fb3babca2c57072a62137aa2c01d.zip
Remove unused methods. (#10058)
Diffstat (limited to 'compatibility-server/src')
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractProperty.java4
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java4
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java4
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java12
-rw-r--r--compatibility-server/src/test/java/com/vaadin/tests/server/SerializationTest.java5
5 files changed, 0 insertions, 29 deletions
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractProperty.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractProperty.java
index 98af2cdf17..6a3c26a578 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractProperty.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/AbstractProperty.java
@@ -272,8 +272,4 @@ public abstract class AbstractProperty<T> implements Property<T>,
return Collections.EMPTY_LIST;
}
-
- private static Logger getLogger() {
- return Logger.getLogger(AbstractProperty.class.getName());
- }
}
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java
index b1fc3738ed..6edf06edd3 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/sqlcontainer/ColumnProperty.java
@@ -257,10 +257,6 @@ public final class ColumnProperty implements Property {
// LegacyPropertyHelper has been removed in Vaadin 8
- private static Logger getLogger() {
- return Logger.getLogger(ColumnProperty.class.getName());
- }
-
public void setOwner(RowItem owner) {
if (owner == null) {
throw new IllegalArgumentException("Owner can not be set to null.");
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java
index 99bc5a1f77..4eb44994aa 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java
@@ -1774,8 +1774,4 @@ public abstract class AbstractField<T> extends AbstractLegacyComponent
super.isReadOnly(), def.isReadOnly(), Boolean.class,
designContext);
}
-
- private static final Logger getLogger() {
- return Logger.getLogger(AbstractField.class.getName());
- }
}
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
index fdd93f56c4..c4e7c42107 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java
@@ -1080,18 +1080,6 @@ public class Grid extends AbstractComponent
new ConnectorErrorEvent(Grid.this, event.getCause()));
}
}
-
- private Object getFirstPropertyId(FieldGroup fieldGroup,
- Set<Field<?>> keySet) {
- for (Column c : getColumns()) {
- Object propertyId = c.getPropertyId();
- Field<?> f = fieldGroup.getField(propertyId);
- if (keySet.contains(f)) {
- return propertyId;
- }
- }
- return null;
- }
}
/**
diff --git a/compatibility-server/src/test/java/com/vaadin/tests/server/SerializationTest.java b/compatibility-server/src/test/java/com/vaadin/tests/server/SerializationTest.java
index eb852974fc..b59d7a4aa7 100644
--- a/compatibility-server/src/test/java/com/vaadin/tests/server/SerializationTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/tests/server/SerializationTest.java
@@ -54,9 +54,4 @@ public class SerializationTest {
return s2;
}
-
- private static String toString(Object o) {
- return String.valueOf(o);
- }
-
}