You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/05/07 14:13:16 UTC

[syncope] branch 2_0_X updated: Cleanup

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_0_X by this push:
     new 02e0d63  Cleanup
02e0d63 is described below

commit 02e0d638ce485552aa004b204b2822f19a41a739
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Tue May 7 16:12:44 2019 +0200

    Cleanup
---
 .../apache/syncope/client/console/SyncopeConsoleApplication.java  | 8 --------
 client/console/src/main/resources/console.properties              | 2 --
 fit/console-reference/src/main/resources/console.properties       | 2 --
 fit/core-reference/src/test/resources/console.properties          | 2 --
 4 files changed, 14 deletions(-)

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 27efd58..054bf28 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
@@ -88,8 +88,6 @@ public class SyncopeConsoleApplication extends AuthenticatedWebApplication {
         return (SyncopeConsoleApplication) WebApplication.get();
     }
 
-    private String site;
-
     private String anonymousUser;
 
     private String anonymousKey;
@@ -152,8 +150,6 @@ public class SyncopeConsoleApplication extends AuthenticatedWebApplication {
         // read console.properties
         Properties props = PropertyUtils.read(getClass(), CONSOLE_PROPERTIES, "console.directory").getLeft();
 
-        site = props.getProperty("site");
-        Args.notNull(site, "<site>");
         anonymousUser = props.getProperty("anonymousUser");
         Args.notNull(anonymousUser, "<anonymousUser>");
         anonymousKey = props.getProperty("anonymousKey");
@@ -316,10 +312,6 @@ public class SyncopeConsoleApplication extends AuthenticatedWebApplication {
         return pageClasses.get(key);
     }
 
-    public String getSite() {
-        return site;
-    }
-
     public String getAnonymousUser() {
         return anonymousUser;
     }
diff --git a/client/console/src/main/resources/console.properties b/client/console/src/main/resources/console.properties
index 3611052..64942b1 100644
--- a/client/console/src/main/resources/console.properties
+++ b/client/console/src/main/resources/console.properties
@@ -16,8 +16,6 @@
 # under the License.
 console.directory=${conf.directory}
 
-site=${project.parent.url}
-
 anonymousUser=${anonymousUser}
 anonymousKey=${anonymousKey}
 
diff --git a/fit/console-reference/src/main/resources/console.properties b/fit/console-reference/src/main/resources/console.properties
index 366d0de..edec417 100644
--- a/fit/console-reference/src/main/resources/console.properties
+++ b/fit/console-reference/src/main/resources/console.properties
@@ -16,8 +16,6 @@
 # under the License.
 console.directory=${conf.directory}
 
-site=${project.parent.url}
-
 anonymousUser=${anonymousUser}
 anonymousKey=${anonymousKey}
 
diff --git a/fit/core-reference/src/test/resources/console.properties b/fit/core-reference/src/test/resources/console.properties
index 908acfb..27d470b 100644
--- a/fit/core-reference/src/test/resources/console.properties
+++ b/fit/core-reference/src/test/resources/console.properties
@@ -16,8 +16,6 @@
 # under the License.
 console.directory=${conf.directory}
 
-site=${project.parent.url}
-
 anonymousUser=${anonymousUser}
 anonymousKey=${anonymousKey}