Browse Source

Improved deprecation message based on review (#9522)

tags/7.0.0.beta1
Leif Åstrand 11 years ago
parent
commit
7d591785b1
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      server/src/com/vaadin/server/Page.java

+ 4
- 1
server/src/com/vaadin/server/Page.java View File

@@ -32,6 +32,7 @@ import com.vaadin.ui.JavaScript;
import com.vaadin.ui.Link;
import com.vaadin.ui.Notification;
import com.vaadin.ui.UI;
import com.vaadin.ui.UI.LegacyWindow;
import com.vaadin.util.ReflectTools;

public class Page implements Serializable {
@@ -664,7 +665,9 @@ public class Page implements Serializable {

/**
* @deprecated only retained to maintain compatibility with
* LegacyWindow.open methods
* LegacyWindow.open methods. See documentation for
* {@link LegacyWindow#open(Resource, String, int, int, BorderStyle)}
* for discussion about replacing API.
*/
@Deprecated
public void open(Resource resource, String windowName, int width,

Loading…
Cancel
Save