summaryrefslogtreecommitdiff
path: root/bkucommon/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-07-24 19:53:33 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-07-24 19:53:33 +0000
commita36ddeb089ab6ec39c7af9b95a5bbb1fc0d3852a (patch)
treea7adee56489c0e261aa822a4118c31221b940d84 /bkucommon/src/main/java/at/gv/egiz
parentc8bedc70d896f16f5ecb14850f7f4524ccb3ad0b (diff)
downloadmocca-a36ddeb089ab6ec39c7af9b95a5bbb1fc0d3852a.tar.gz
mocca-a36ddeb089ab6ec39c7af9b95a5bbb1fc0d3852a.tar.bz2
mocca-a36ddeb089ab6ec39c7af9b95a5bbb1fc0d3852a.zip
Move StylesheetURL property constant
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1112 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src/main/java/at/gv/egiz')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java4
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/spring/ConfigurationFactoryBean.java2
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<String> 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.
*/