summaryrefslogtreecommitdiffstats
path: root/compatibility-server-gae
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-10-10 12:06:27 +0200
committerHenri Sara <henri.sara@gmail.com>2017-10-10 13:06:27 +0300
commitab18b6c58ef819dbc0049c4713cf06209d5abc47 (patch)
tree84aec85fe2dbeae4b9b340481c5a18228c4ec296 /compatibility-server-gae
parent802bb98b851ab9b15617b283ccdba3dbc517ada6 (diff)
downloadvaadin-framework-ab18b6c58ef819dbc0049c4713cf06209d5abc47.tar.gz
vaadin-framework-ab18b6c58ef819dbc0049c4713cf06209d5abc47.zip
Remove unneeded .toString() (#10141)
Diffstat (limited to 'compatibility-server-gae')
-rw-r--r--compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java b/compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java
index 5b25a48ba9..3c59e52c79 100644
--- a/compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java
+++ b/compatibility-server-gae/src/main/java/com/vaadin/server/GAEVaadinServlet.java
@@ -151,16 +151,14 @@ public class GAEVaadinServlet extends VaadinServlet {
VaadinServletResponse response) throws IOException {
criticalNotification(request, response, "NotSerializableException",
"I'm sorry, but there seems to be a serious problem, please contact the administrator. And please take note of any unsaved data...",
- "",
- getApplicationUrl(request).toString() + "?restartApplication");
+ "", getApplicationUrl(request) + "?restartApplication");
}
protected void sendCriticalErrorNotification(VaadinServletRequest request,
VaadinServletResponse response) throws IOException {
criticalNotification(request, response, "Critical error",
"I'm sorry, but there seems to be a serious problem, please contact the administrator. And please take note of any unsaved data...",
- "",
- getApplicationUrl(request).toString() + "?restartApplication");
+ "", getApplicationUrl(request) + "?restartApplication");
}
@Override
@@ -227,8 +225,8 @@ public class GAEVaadinServlet extends VaadinServlet {
try {
Thread.sleep(RETRY_AFTER_MILLISECONDS);
} catch (InterruptedException e) {
- getLogger()
- .finer("Thread.sleep() interrupted while waiting for lock. Trying again. "
+ getLogger().finer(
+ "Thread.sleep() interrupted while waiting for lock. Trying again. "
+ e);
}
}