From b3142cfbb98fd9f0e8a3177d8f08721737789a19 Mon Sep 17 00:00:00 2001 From: Purodha Blissenbach Date: Fri, 21 Sep 2012 18:22:26 +0200 Subject: [PATCH] Meaning inverted for domain options includes, indexes, and multiviews. --- .../hsadmin/mods/dom/DomainProcessorFactory.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 040c228..b09d7d3 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -304,23 +304,23 @@ public class DomainProcessorFactory implements EntityProcessorFactory { // TODO: This code should be cleaned up after switching to the velocity template engine. query.setParameter("option", "indexes"); if (query.getResultList().isEmpty()) { - templateVars.put("INDEXES", "+Indexes"); + templateVars.put("INDEXES", "-Indexes"); } else { - templateVars.put("INDEXES", "-Indexes"); + templateVars.put("INDEXES", "+Indexes"); } // TODO: This code should be cleaned up after switching to the velocity template engine. query.setParameter("option", "includes"); - if (query.getResultList().isEmpty()) { - templateVars.put("INCLUDES", "+IncludesNoExec"); - } else { + if (query.getResultList().isEmpty()) { templateVars.put("INCLUDES", "-Includes"); + } else { + templateVars.put("INCLUDES", "+IncludesNoExec"); } // TODO: This code should be cleaned up after switching to the velocity template engine. query.setParameter("option", "multiviews"); if (query.getResultList().isEmpty()) { - templateVars.put("MULTIVIEWS", "+MultiViews"); + templateVars.put("MULTIVIEWS", "-MultiViews"); } else { - templateVars.put("MULTIVIEWS", "-MultiViews"); + templateVars.put("MULTIVIEWS", "+MultiViews"); } // TODO: This code should be cleaned up after switching to the velocity template engine. query.setParameter("option", "htdocsfallback");