diff options
-rw-r--r-- | server/src/main/java/com/vaadin/ui/AbstractComponent.java | 7 | ||||
-rw-r--r-- | server/src/main/java/com/vaadin/ui/Panel.java | 9 |
2 files changed, 0 insertions, 16 deletions
diff --git a/server/src/main/java/com/vaadin/ui/AbstractComponent.java b/server/src/main/java/com/vaadin/ui/AbstractComponent.java index 93d9a23851..c31331c3e4 100644 --- a/server/src/main/java/com/vaadin/ui/AbstractComponent.java +++ b/server/src/main/java/com/vaadin/ui/AbstractComponent.java @@ -290,13 +290,6 @@ public abstract class AbstractComponent extends AbstractClientConnector return getState(false).caption; } - /** - * Sets the component's caption <code>String</code>. Caption is the visible - * name of the component. - * - * @param caption - * the new caption <code>String</code> for the component. - */ @Override public void setCaption(String caption) { getState().caption = caption; diff --git a/server/src/main/java/com/vaadin/ui/Panel.java b/server/src/main/java/com/vaadin/ui/Panel.java index 13d2b4027e..06d4daa9c3 100644 --- a/server/src/main/java/com/vaadin/ui/Panel.java +++ b/server/src/main/java/com/vaadin/ui/Panel.java @@ -100,15 +100,6 @@ public class Panel extends AbstractSingleComponentContainer setCaption(caption); } - /** - * Sets the caption of the panel. - * - * Note that the caption is interpreted as HTML and therefore care should be - * taken not to enable HTML injection and XSS attacks using panel captions. - * This behavior may change in future versions. - * - * @see AbstractComponent#setCaption(String) - */ @Override public void setCaption(String caption) { super.setCaption(caption); |