diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/server/DefaultDeploymentConfiguration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/DefaultDeploymentConfiguration.java b/server/src/com/vaadin/server/DefaultDeploymentConfiguration.java index 0a8096e84c..993d60133b 100644 --- a/server/src/com/vaadin/server/DefaultDeploymentConfiguration.java +++ b/server/src/com/vaadin/server/DefaultDeploymentConfiguration.java @@ -88,7 +88,7 @@ public class DefaultDeploymentConfiguration implements DeploymentConfiguration { private void checkLegacyPropertyToString() { // Verify that the default value has not changed without also // updating logic here - assert DEFAULT_LEGACY_PROPERTY_TO_STRING.toString().equals("warning"); + assert DEFAULT_LEGACY_PROPERTY_TO_STRING == LegacyProperyToStringMode.WARNING; String param = getApplicationOrSystemProperty( Constants.SERVLET_PARAMETER_LEGACY_PROPERTY_TOSTRING, "warning"); |