aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/TextArea.java
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-08-31 12:27:45 +0300
committerJohn Ahlroos <john@vaadin.com>2012-08-31 12:27:45 +0300
commitdac974af9bc73491d8818581821a2c99458f71a2 (patch)
tree235145653519a5f09a929a996485e9b0fdad3115 /server/src/com/vaadin/ui/TextArea.java
parent7b25b3886ea95bc6495506fbe9472e45fcbde684 (diff)
downloadvaadin-framework-dac974af9bc73491d8818581821a2c99458f71a2.tar.gz
vaadin-framework-dac974af9bc73491d8818581821a2c99458f71a2.zip
Removed getters/setters from states and made instance variabled public
Diffstat (limited to 'server/src/com/vaadin/ui/TextArea.java')
-rw-r--r--server/src/com/vaadin/ui/TextArea.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/com/vaadin/ui/TextArea.java b/server/src/com/vaadin/ui/TextArea.java
index 0dc9722eb3..cc8e947e24 100644
--- a/server/src/com/vaadin/ui/TextArea.java
+++ b/server/src/com/vaadin/ui/TextArea.java
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright 2011 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -95,7 +95,7 @@ public class TextArea extends AbstractTextField {
if (rows < 0) {
rows = 0;
}
- getState().setRows(rows);
+ getState().rows = rows;
}
/**
@@ -104,7 +104,7 @@ public class TextArea extends AbstractTextField {
* @return number of explicitly set rows.
*/
public int getRows() {
- return getState().getRows();
+ return getState().rows;
}
/**
@@ -115,7 +115,7 @@ public class TextArea extends AbstractTextField {
* word-wrap mode.
*/
public void setWordwrap(boolean wordwrap) {
- getState().setWordwrap(wordwrap);
+ getState().wordwrap = wordwrap;
}
/**
@@ -125,7 +125,7 @@ public class TextArea extends AbstractTextField {
* <code>false</code> if not.
*/
public boolean isWordwrap() {
- return getState().isWordwrap();
+ return getState().wordwrap;
}
}