]> source.dussan.org Git - vaadin-framework.git/commitdiff
#7020 Refined the semantics of deprecation
authorLeif Åstrand <leif@vaadin.com>
Thu, 11 Aug 2011 10:27:57 +0000 (10:27 +0000)
committerLeif Åstrand <leif@vaadin.com>
Thu, 11 Aug 2011 10:27:57 +0000 (10:27 +0000)
svn changeset:20297/svn branch:6.7

src/com/vaadin/terminal/gwt/client/ui/VNotification.java

index a7fe91df53e86c8a269f09ae0f884e876b0e81eb..4d06565e3c7ade671b7335304265e3d76b4d5a08 100644 (file)
@@ -57,9 +57,8 @@ public class VNotification extends VOverlay {
     private static final int TOUCH_DEVICE_IDLE_DELAY = 1000;\r
 \r
     /**\r
-     * @deprecated Use GWT.create instead\r
+     * Default constructor. You should use GWT.create instead.\r
      */\r
-    @Deprecated\r
     public VNotification() {\r
         setStyleName(STYLENAME);\r
         sinkEvents(Event.ONCLICK);\r
@@ -405,14 +404,6 @@ public class VNotification extends VOverlay {
         return notification;\r
     }\r
 \r
-    public static VNotification createNotification(int delayMsec, int fadeMsec,\r
-            int startOpacity) {\r
-        VNotification notification = createNotification(delayMsec);\r
-        notification.fadeMsec = fadeMsec;\r
-        notification.startOpacity = startOpacity;\r
-        return notification;\r
-    }\r
-\r
     public class HideEvent extends EventObject {\r
 \r
         public HideEvent(Object source) {\r