From f6e082f5172d791a49d98a6b6b7770d3b38c8695 Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Mon, 18 Sep 2017 23:16:02 +0200 Subject: Use String.isEmpty() --- .../test/java/com/vaadin/tests/integration/AbstractIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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"); } -- cgit v1.2.3