diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-06-12 11:50:05 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2013-06-12 11:50:05 +0300 |
commit | 2aa3096b0111ab927d2a853e032b57cb678ee4af (patch) | |
tree | 0f346891f60c418dcc8622efb250c3438df6f768 /server | |
parent | d5c0ffaca62cbbe4233e5de435f18f31ca189ec7 (diff) | |
download | vaadin-framework-2aa3096b0111ab927d2a853e032b57cb678ee4af.tar.gz vaadin-framework-2aa3096b0111ab927d2a853e032b57cb678ee4af.zip |
Avoid string casing problems (#11970)
Change-Id: Id5c1f496bcd754e1c7e16e0df0d451d9a0bf054e
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"); |