From a36ddeb089ab6ec39c7af9b95a5bbb1fc0d3852a Mon Sep 17 00:00:00 2001 From: tkellner Date: Tue, 24 Jul 2012 19:53:33 +0000 Subject: Move StylesheetURL property constant git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1112 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java | 4 +++- .../src/main/java/at/gv/egiz/bku/spring/ConfigurationFactoryBean.java | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java index 0f8385d8..a645760b 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java @@ -116,6 +116,8 @@ public class HTTPBindingProcessorImpl extends AbstractBindingProcessor implement public static final String DATAURL_WHITELIST = "DataURLConnection.Whitelist"; + public static final String USE_STYLESHEETURL_PROPERTY = "UseStylesheetURL"; + public int getMaxDataUrlHops() { return configuration.getInt(DATAURLCLIENT_MAXHOPS, 10); } @@ -140,7 +142,7 @@ public class HTTPBindingProcessorImpl extends AbstractBindingProcessor implement public boolean getEnableStylesheetURL() { return configuration - .getBoolean(ConfigurationFactoryBean.USE_STYLESHEETURL_PROPERTY, false); + .getBoolean(USE_STYLESHEETURL_PROPERTY, false); } public List getDataURLWhitelist() { diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/spring/ConfigurationFactoryBean.java b/bkucommon/src/main/java/at/gv/egiz/bku/spring/ConfigurationFactoryBean.java index 55a1c7f2..413c116f 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/spring/ConfigurationFactoryBean.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/spring/ConfigurationFactoryBean.java @@ -64,8 +64,6 @@ public class ConfigurationFactoryBean implements FactoryBean, ResourceLoaderAwar public static final String SIGNATURE_LAYOUT_PROPERTY = "SignatureLayout"; - public static final String USE_STYLESHEETURL_PROPERTY = "UseStylesheetURL"; - /** * The URL of the configuration file. */ -- cgit v1.2.3