summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2016-09-13 11:27:55 +0300
committerVaadin Code Review <review@vaadin.com>2016-09-13 09:55:37 +0000
commitd08c72efa5519a8d90fc301911efc9dc8db9e055 (patch)
tree86c28a8e306b3afc849efa5a750c414ba09ee6b9
parent5cc6b0e4e265783808ac258c830964ed7e888c34 (diff)
downloadvaadin-framework-d08c72efa5519a8d90fc301911efc9dc8db9e055.tar.gz
vaadin-framework-d08c72efa5519a8d90fc301911efc9dc8db9e055.zip
Remove unused state flag in AbstractFieldState
Change-Id: Ia7542be3b73eb4932cc3f2324e1da098a9844a4a
-rw-r--r--client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java5
-rw-r--r--shared/src/main/java/com/vaadin/shared/AbstractFieldState.java1
2 files changed, 0 insertions, 6 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java b/client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java
index f714023d39..18834b2f8b 100644
--- a/client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java
+++ b/client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java
@@ -26,11 +26,6 @@ public abstract class AbstractFieldConnector extends AbstractComponentConnector
return (AbstractFieldState) super.getState();
}
- @Override
- public boolean isReadOnly() {
- return super.isReadOnly() || getState().propertyReadOnly;
- }
-
public boolean isModified() {
return getState().modified;
}
diff --git a/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java b/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java
index 820660b853..5040e91d48 100644
--- a/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java
+++ b/shared/src/main/java/com/vaadin/shared/AbstractFieldState.java
@@ -25,7 +25,6 @@ import com.vaadin.shared.ui.TabIndexState;
*
*/
public class AbstractFieldState extends TabIndexState {
- public boolean propertyReadOnly = false;
public boolean hideErrors = false;
public boolean required = false;
public boolean modified = false;