summaryrefslogtreecommitdiff
path: root/bkucommon
diff options
context:
space:
mode:
Diffstat (limited to 'bkucommon')
-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.
*/