From e78cfa7e6ca953e0ecd030cfffb760425a1293bc Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 23 Nov 2012 11:38:20 +0200 Subject: Refactor Extension API (#10337) Change-Id: Ib16ffceb8dce235b59848c55e59407074e7d5bda --- server/src/com/vaadin/ui/JavaScript.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/com/vaadin/ui/JavaScript.java') diff --git a/server/src/com/vaadin/ui/JavaScript.java b/server/src/com/vaadin/ui/JavaScript.java index 3782ead85a..02707a3ccd 100644 --- a/server/src/com/vaadin/ui/JavaScript.java +++ b/server/src/com/vaadin/ui/JavaScript.java @@ -157,7 +157,7 @@ public class JavaScript extends AbstractExtension { * when invoked */ @Override - public void removeFromTarget() { + public void remove() { throw new UnsupportedOperationException( "JavaScript is not designed to be removed."); } -- cgit v1.2.3