]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove unused state flag in AbstractFieldState
authorHenri Sara <hesara@vaadin.com>
Tue, 13 Sep 2016 08:27:55 +0000 (11:27 +0300)
committerVaadin Code Review <review@vaadin.com>
Tue, 13 Sep 2016 09:55:37 +0000 (09:55 +0000)
Change-Id: Ia7542be3b73eb4932cc3f2324e1da098a9844a4a

client/src/main/java/com/vaadin/client/ui/AbstractFieldConnector.java
shared/src/main/java/com/vaadin/shared/AbstractFieldState.java

index f714023d394b8666343509cf04a428899739c2be..18834b2f8b204dd1edc92e1d7d9db5b33a2ede4b 100644 (file)
@@ -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;
     }
index 820660b85320c517e59ed7e9b8386119898efae2..5040e91d48d090fd2be1d22807e3922cc56906b3 100644 (file)
@@ -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;