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 2018/03/15 15:50:34 UTC

syncope git commit: Better views, then indexes and finally default content (take 2)

Repository: syncope
Updated Branches:
  refs/heads/2_0_X 7283109e3 -> 2b1b9561f


Better views, then indexes and finally default content (take 2)


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

Branch: refs/heads/2_0_X
Commit: 2b1b9561f1cdecbd8d603a04e39d48e6a142a764
Parents: 7283109
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Thu Mar 15 16:50:27 2018 +0100
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Thu Mar 15 16:50:27 2018 +0100

----------------------------------------------------------------------
 .../syncope/core/persistence/jpa/content/XMLContentLoader.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/2b1b9561/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/content/XMLContentLoader.java
----------------------------------------------------------------------
diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/content/XMLContentLoader.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/content/XMLContentLoader.java
index 18247fe..63a6089 100644
--- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/content/XMLContentLoader.java
+++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/content/XMLContentLoader.java
@@ -77,12 +77,12 @@ public class XMLContentLoader extends AbstractContentDealer implements ContentLo
                 try {
                     createViews(entry.getKey(), entry.getValue());
                 } catch (IOException e) {
-                    LOG.error("[{}] While creating indexes", entry.getKey(), e);
+                    LOG.error("[{}] While creating views", entry.getKey(), e);
                 }
                 try {
-                    createViews(entry.getKey(), entry.getValue());
+                    createIndexes(entry.getKey(), entry.getValue());
                 } catch (IOException e) {
-                    LOG.error("[{}] While creating views", entry.getKey(), e);
+                    LOG.error("[{}] While creating indexes", entry.getKey(), e);
                 }
                 try {
                     ResourceWithFallbackLoader contentXML = ApplicationContextProvider.getBeanFactory().