summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-18 23:16:02 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-19 14:25:46 +0300
commitf6e082f5172d791a49d98a6b6b7770d3b38c8695 (patch)
tree439c6d53e57e8b24f81f341eb0fc93583a3c42bd /test
parentd8baecb239b0d91f477c450d2a08a472b169a08d (diff)
downloadvaadin-framework-f6e082f5172d791a49d98a6b6b7770d3b38c8695.tar.gz
vaadin-framework-f6e082f5172d791a49d98a6b6b7770d3b38c8695.zip
Use String.isEmpty()
Diffstat (limited to 'test')
-rw-r--r--test/servlet-containers/generic/src/test/java/com/vaadin/tests/integration/AbstractIntegrationTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/servlet-containers/generic/src/test/java/com/vaadin/tests/integration/AbstractIntegrationTest.java b/test/servlet-containers/generic/src/test/java/com/vaadin/tests/integration/AbstractIntegrationTest.java
index 6a948f63d8..10ad299a4b 100644
--- a/test/servlet-containers/generic/src/test/java/com/vaadin/tests/integration/AbstractIntegrationTest.java
+++ b/test/servlet-containers/generic/src/test/java/com/vaadin/tests/integration/AbstractIntegrationTest.java
@@ -87,7 +87,7 @@ public abstract class AbstractIntegrationTest extends ParallelTest {
private String getDeploymentURL() {
String deploymentUrl = System.getProperty("deployment.url");
- if (deploymentUrl == null || deploymentUrl.equals("")) {
+ if (deploymentUrl == null || deploymentUrl.isEmpty()) {
throw new RuntimeException(
"Deployment url must be given as deployment.url");
}