diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2006-12-27 15:40:17 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2006-12-27 15:40:17 +0000 |
commit | 0b95c1dc11798683d307332c39b92d7073550e79 (patch) | |
tree | 357438851ac467c94002572f1fd88849fa50fec9 /src/com/itmill/toolkit | |
parent | 2f4339aed060b31925e2ff7f6d691bb8f71144c0 (diff) | |
download | vaadin-framework-0b95c1dc11798683d307332c39b92d7073550e79.tar.gz vaadin-framework-0b95c1dc11798683d307332c39b92d7073550e79.zip |
Fixed a lot of warns about unused code
svn changeset:168/svn branch:toolkit
Diffstat (limited to 'src/com/itmill/toolkit')
-rw-r--r-- | src/com/itmill/toolkit/ui/AbstractComponent.java | 4 | ||||
-rw-r--r-- | src/com/itmill/toolkit/ui/Button.java | 5 | ||||
-rw-r--r-- | src/com/itmill/toolkit/ui/Component.java | 1 | ||||
-rw-r--r-- | src/com/itmill/toolkit/ui/Upload.java | 2 |
4 files changed, 1 insertions, 11 deletions
diff --git a/src/com/itmill/toolkit/ui/AbstractComponent.java b/src/com/itmill/toolkit/ui/AbstractComponent.java index 4c08b3811f..dfbcc90913 100644 --- a/src/com/itmill/toolkit/ui/AbstractComponent.java +++ b/src/com/itmill/toolkit/ui/AbstractComponent.java @@ -97,10 +97,6 @@ public abstract class AbstractComponent */ private boolean immediate = false; - /** Debug mode: if true, the component may output visual debug information - */ - private boolean debug = false; - /** Locale of this component. */ private Locale locale; diff --git a/src/com/itmill/toolkit/ui/Button.java b/src/com/itmill/toolkit/ui/Button.java index 1b1d22d3d9..01824e5e76 100644 --- a/src/com/itmill/toolkit/ui/Button.java +++ b/src/com/itmill/toolkit/ui/Button.java @@ -43,11 +43,6 @@ import com.itmill.toolkit.terminal.PaintTarget; */ public class Button extends AbstractField { - /* Final members *************************************************** */ - - /** strings to be catched at adatapter (transformer) */ - private static final String BUTTON_VAR_NAME = "clicked"; - /* Private members ************************************************* */ boolean switchMode = false; diff --git a/src/com/itmill/toolkit/ui/Component.java b/src/com/itmill/toolkit/ui/Component.java index d1e6bb8039..1f0b25e18c 100644 --- a/src/com/itmill/toolkit/ui/Component.java +++ b/src/com/itmill/toolkit/ui/Component.java @@ -266,7 +266,6 @@ public interface Component extends Paintable, VariableOwner { private static final long serialVersionUID = 4051323457293857333L; private ErrorMessage message; - private Throwable throwable; /** Constructs a new event with a specified source component. * diff --git a/src/com/itmill/toolkit/ui/Upload.java b/src/com/itmill/toolkit/ui/Upload.java index 3bcb998352..06d52fe2b4 100644 --- a/src/com/itmill/toolkit/ui/Upload.java +++ b/src/com/itmill/toolkit/ui/Upload.java @@ -144,7 +144,7 @@ public class Upload extends AbstractComponent implements Component.Focusable { /** Notify all upload listeners */ private void notifyListeners() { - + // TODO This should be implemented and called } /** Interface that must be implemented by the upload receivers. |