Repository: syncope Updated Branches: refs/heads/2_0_X 036243b46 -> 658141b2e refs/heads/master bfcac4bbd -> eb4cb4485
Minor fix Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/658141b2 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/658141b2 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/658141b2 Branch: refs/heads/2_0_X Commit: 658141b2e301fdf8f0ba76d3e91215ea227d182e Parents: 036243b Author: Francesco Chicchiriccò <ilgro...@apache.org> Authored: Tue Mar 7 14:00:42 2017 +0100 Committer: Francesco Chicchiriccò <ilgro...@apache.org> Committed: Tue Mar 7 14:00:42 2017 +0100 ---------------------------------------------------------------------- .../console/SyncopeConsoleApplication.java | 22 ++++++++--------- .../enduser/SyncopeEnduserApplication.java | 26 ++++++++++---------- 2 files changed, 24 insertions(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/658141b2/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java index ce00366..07a80b6 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java @@ -138,24 +138,24 @@ public class SyncopeConsoleApplication extends AuthenticatedWebApplication { throw new WicketRuntimeException("Could not read " + CONSOLE_PROPERTIES, e); } version = props.getProperty("version"); - Args.notNull(version, "<version> not set"); + Args.notNull(version, "<version>"); site = props.getProperty("site"); - Args.notNull(site, "<site> not set"); + Args.notNull(site, "<site>"); anonymousUser = props.getProperty("anonymousUser"); - Args.notNull(anonymousUser, "<anonymousUser> not set"); + Args.notNull(anonymousUser, "<anonymousUser>"); anonymousKey = props.getProperty("anonymousKey"); - Args.notNull(anonymousKey, "<anonymousKey> not set"); + Args.notNull(anonymousKey, "<anonymousKey>"); String scheme = props.getProperty("scheme"); - Args.notNull(scheme, "<scheme> not set"); + Args.notNull(scheme, "<scheme>"); String host = props.getProperty("host"); - Args.notNull(host, "<host> not set"); + Args.notNull(host, "<host>"); String port = props.getProperty("port"); - Args.notNull(port, "<port> not set"); + Args.notNull(port, "<port>"); String rootPath = props.getProperty("rootPath"); - Args.notNull(rootPath, "<rootPath> not set"); + Args.notNull(rootPath, "<rootPath>"); String useGZIPCompression = props.getProperty("useGZIPCompression"); - Args.notNull(rootPath, "<useGZIPCompression> not set"); + Args.notNull(useGZIPCompression, "<useGZIPCompression>"); clientFactory = new SyncopeClientFactoryBean(). setAddress(scheme + "://" + host + ":" + port + "/" + rootPath). @@ -197,14 +197,14 @@ public class SyncopeConsoleApplication extends AuthenticatedWebApplication { mountPage("/login", getSignInPageClass()); activitiModelerDirectory = props.getProperty("activitiModelerDirectory"); - Args.notNull(activitiModelerDirectory, "<activitiModelerDirectory> not set"); + Args.notNull(activitiModelerDirectory, "<activitiModelerDirectory>"); try { reconciliationReportKey = props.getProperty("reconciliationReportKey"); } catch (NumberFormatException e) { LOG.error("While parsing reconciliationReportKey", e); } - Args.notNull(reconciliationReportKey, "<reconciliationReportKey> not set"); + Args.notNull(reconciliationReportKey, "<reconciliationReportKey>"); mountResource("/" + ACTIVITI_MODELER_CONTEXT, new ResourceReference(ACTIVITI_MODELER_CONTEXT) { http://git-wip-us.apache.org/repos/asf/syncope/blob/658141b2/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java ---------------------------------------------------------------------- diff --git a/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java b/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java index 3094e3c..55375bc 100644 --- a/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java +++ b/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java @@ -105,35 +105,35 @@ public class SyncopeEnduserApplication extends WebApplication implements Seriali throw new WicketRuntimeException("Could not read " + ENDUSER_PROPERTIES, e); } version = props.getProperty("version"); - Args.notNull(version, "<version> not set"); + Args.notNull(version, "<version>"); site = props.getProperty("site"); - Args.notNull(site, "<site> not set"); + Args.notNull(site, "<site>"); license = props.getProperty("license"); - Args.notNull(license, "<license> not set"); + Args.notNull(license, "<license>"); domain = props.getProperty("domain", SyncopeConstants.MASTER_DOMAIN); adminUser = props.getProperty("adminUser"); - Args.notNull(adminUser, "<adminUser> not set"); + Args.notNull(adminUser, "<adminUser>"); anonymousUser = props.getProperty("anonymousUser"); - Args.notNull(anonymousUser, "<anonymousUser> not set"); + Args.notNull(anonymousUser, "<anonymousUser>"); anonymousKey = props.getProperty("anonymousKey"); - Args.notNull(anonymousKey, "<anonymousKey> not set"); + Args.notNull(anonymousKey, "<anonymousKey>"); captchaEnabled = Boolean.parseBoolean(props.getProperty("captcha")); - Args.notNull(captchaEnabled, "<captcha> not set"); + Args.notNull(captchaEnabled, "<captcha>"); xsrfEnabled = Boolean.parseBoolean(props.getProperty("xsrf")); - Args.notNull(xsrfEnabled, "<xsrf> not set"); + Args.notNull(xsrfEnabled, "<xsrf>"); String scheme = props.getProperty("scheme"); - Args.notNull(scheme, "<scheme> not set"); + Args.notNull(scheme, "<scheme>"); String host = props.getProperty("host"); - Args.notNull(host, "<host> not set"); + Args.notNull(host, "<host>"); String port = props.getProperty("port"); - Args.notNull(port, "<port> not set"); + Args.notNull(port, "<port>"); String rootPath = props.getProperty("rootPath"); - Args.notNull(rootPath, "<rootPath> not set"); + Args.notNull(rootPath, "<rootPath>"); String useGZIPCompression = props.getProperty("useGZIPCompression"); - Args.notNull(rootPath, "<useGZIPCompression> not set"); + Args.notNull(useGZIPCompression, "<useGZIPCompression>"); clientFactory = new SyncopeClientFactoryBean(). setAddress(scheme + "://" + host + ":" + port + "/" + rootPath).