syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [2/2] syncope git commit: Minor fix
Date Tue, 07 Mar 2017 13:01:00 GMT
Minor fix


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/eb4cb448
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/eb4cb448
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/eb4cb448

Branch: refs/heads/master
Commit: eb4cb44854fb1798e3d5fcb77f8bdd84629803d8
Parents: bfcac4b
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Tue Mar 7 14:00:42 2017 +0100
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Tue Mar 7 14:00:51 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/eb4cb448/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/eb4cb448/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).


Mime
View raw message