diff options
author | Fabian Lange <lange.fabian@gmail.com> | 2013-10-23 00:06:24 +0200 |
---|---|---|
committer | Fabian Lange <lange.fabian@gmail.com> | 2013-10-23 09:38:13 +0200 |
commit | 2f75f20a9e345e4736199fd234dfaf8f24f8ef35 (patch) | |
tree | 19e97237cf6fa9a74ef1a051c4c2fdc00ff76cd3 | |
parent | d70961ff2539aabe99eea22683a8ae77efdc81e5 (diff) | |
download | vaadin-framework-2f75f20a9e345e4736199fd234dfaf8f24f8ef35.tar.gz vaadin-framework-2f75f20a9e345e4736199fd234dfaf8f24f8ef35.zip |
removed obsolete field "width" from VNativeButton. (#12825)
The field width of VNativeButton was written when setWidth() was invoked,
but it was never read anywhere. Removing it saves cpu time and memory.
This field was not marked as internal and it was protected, if anybody needs
it, they can easily add it to their classes.
Change-Id: I9f2bb9b5426b25ba36b3414cc70d2298e515ac23
-rw-r--r-- | client/src/com/vaadin/client/ui/VNativeButton.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/client/src/com/vaadin/client/ui/VNativeButton.java b/client/src/com/vaadin/client/ui/VNativeButton.java index 67fa6f2ee3..d38e4c3374 100644 --- a/client/src/com/vaadin/client/ui/VNativeButton.java +++ b/client/src/com/vaadin/client/ui/VNativeButton.java @@ -33,8 +33,6 @@ public class VNativeButton extends Button implements ClickHandler { public static final String CLASSNAME = "v-nativebutton"; - protected String width = null; - /** For internal use only. May be removed or replaced in the future. */ public String paintableId; @@ -123,12 +121,6 @@ public class VNativeButton extends Button implements ClickHandler { } } - @Override - public void setWidth(String width) { - this.width = width; - super.setWidth(width); - } - /* * (non-Javadoc) * |