diff options
author | Artur Signell <artur@vaadin.com> | 2015-07-11 21:09:55 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-07-13 10:42:48 +0000 |
commit | 960cdf2a72b47f750cb5ec13e88845d10de843b2 (patch) | |
tree | 04162ab5ef6fd498a040cbf31f775a15214b1158 | |
parent | 0743bd5b29d31b233de00e47170a48c0e328ce74 (diff) | |
download | vaadin-framework-960cdf2a72b47f750cb5ec13e88845d10de843b2.tar.gz vaadin-framework-960cdf2a72b47f750cb5ec13e88845d10de843b2.zip |
Remove remaining OutOfSync message references
Change-Id: I98004d88f5449e4bc851b4cc7ecc05e48040cc35
-rw-r--r-- | server/src/com/vaadin/server/CustomizedSystemMessages.java | 44 | ||||
-rw-r--r-- | server/src/com/vaadin/server/SystemMessages.java | 11 |
2 files changed, 0 insertions, 55 deletions
diff --git a/server/src/com/vaadin/server/CustomizedSystemMessages.java b/server/src/com/vaadin/server/CustomizedSystemMessages.java index f7049e3688..9aef4f5cf3 100644 --- a/server/src/com/vaadin/server/CustomizedSystemMessages.java +++ b/server/src/com/vaadin/server/CustomizedSystemMessages.java @@ -240,50 +240,6 @@ public class CustomizedSystemMessages extends SystemMessages implements } /** - * Sets the URL to go to when the client is out-of-sync. - * - * @param outOfSyncURL - * the URL to go to, or null to reload current - */ - public void setOutOfSyncURL(String outOfSyncURL) { - this.outOfSyncURL = outOfSyncURL; - } - - /** - * Enables or disables the notification. If disabled, the set URL (or - * current) is loaded directly. - * - * @param outOfSyncNotificationEnabled - * true = enabled, false = disabled - */ - public void setOutOfSyncNotificationEnabled( - boolean outOfSyncNotificationEnabled) { - this.outOfSyncNotificationEnabled = outOfSyncNotificationEnabled; - } - - /** - * Sets the caption of the notification. Set to null for no caption. If both - * caption and message is null, the notification is disabled; - * - * @param outOfSyncCaption - * the caption - */ - public void setOutOfSyncCaption(String outOfSyncCaption) { - this.outOfSyncCaption = outOfSyncCaption; - } - - /** - * Sets the message of the notification. Set to null for no message. If both - * caption and message is null, the notification is disabled; - * - * @param outOfSyncMessage - * the message - */ - public void setOutOfSyncMessage(String outOfSyncMessage) { - this.outOfSyncMessage = outOfSyncMessage; - } - - /** * Sets the URL to redirect to when the browser has cookies disabled. * * @param cookiesDisabledURL diff --git a/server/src/com/vaadin/server/SystemMessages.java b/server/src/com/vaadin/server/SystemMessages.java index 51cc7d497d..3bcf0a90fa 100644 --- a/server/src/com/vaadin/server/SystemMessages.java +++ b/server/src/com/vaadin/server/SystemMessages.java @@ -43,12 +43,6 @@ import java.io.Serializable; * <li><b>internalErrorCaption</b> = "Internal error"</li> * <li><b>internalErrorMessage</b> = "Please notify the administrator.<br/> * Take note of any unsaved data, and <u>click here</u> to continue."</li> - * <li><b>outOfSyncURL</b> = null</li> - * <li><b>outOfSyncNotificationEnabled</b> = true</li> - * <li><b>outOfSyncCaption</b> = "Out of sync"</li> - * <li><b>outOfSyncMessage</b> = "Something has caused us to be out of sync with - * the server.<br/> - * Take note of any unsaved data, and <u>click here</u> to re-sync."</li> * <li><b>cookiesDisabledURL</b> = null</li> * <li><b>cookiesDisabledNotificationEnabled</b> = true</li> * <li><b>cookiesDisabledCaption</b> = "Cookies disabled"</li> @@ -80,11 +74,6 @@ public class SystemMessages implements Serializable { protected String internalErrorCaption = "Internal error"; protected String internalErrorMessage = "Please notify the administrator.<br/>Take note of any unsaved data, and <u>click here</u> or press ESC to continue."; - protected String outOfSyncURL = null; - protected boolean outOfSyncNotificationEnabled = true; - protected String outOfSyncCaption = "Out of sync"; - protected String outOfSyncMessage = "Something has caused us to be out of sync with the server.<br/>Take note of any unsaved data, and <u>click here</u> or press ESC to re-sync."; - protected String cookiesDisabledURL = null; protected boolean cookiesDisabledNotificationEnabled = true; protected String cookiesDisabledCaption = "Cookies disabled"; |