]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8324 Made VOptionGroupBasePaintable abstract as it shouldn't be initialized by it...
authorJens Jansson <peppe@vaadin.com>
Tue, 31 Jan 2012 10:39:43 +0000 (12:39 +0200)
committerArtur Signell <artur@vaadin.com>
Tue, 31 Jan 2012 13:08:24 +0000 (15:08 +0200)
src/com/vaadin/terminal/gwt/client/ui/VOptionGroupBasePaintable.java

index 79b06d197ca728885537bba2290e4397ba09c490..76486ff8a3ad2c920ee69a243641d40f2885c1be 100644 (file)
@@ -4,12 +4,11 @@
 
 package com.vaadin.terminal.gwt.client.ui;
 
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.user.client.ui.Widget;
 import com.vaadin.terminal.gwt.client.ApplicationConnection;
 import com.vaadin.terminal.gwt.client.UIDL;
 
-public class VOptionGroupBasePaintable extends VAbstractPaintableWidget {
+public abstract class VOptionGroupBasePaintable extends
+        VAbstractPaintableWidget {
 
     public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
 
@@ -97,11 +96,6 @@ public class VOptionGroupBasePaintable extends VAbstractPaintableWidget {
 
     }
 
-    @Override
-    protected Widget createWidget() {
-        return GWT.create(VOptionGroupBase.class);
-    }
-
     @Override
     public VOptionGroupBase getWidgetForPaintable() {
         return (VOptionGroupBase) super.getWidgetForPaintable();