# HG changeset patch # User casties # Date 1483718221 -3600 # Node ID 58659e8652792bac4ae79fddbe6244c2f00b2233 # Parent c11fd8ca5c0a7b650a48f6a7490e1ffd37e9e884 less System.out.println. less logging. diff -r c11fd8ca5c0a -r 58659e865279 .hgignore --- a/.hgignore Fri Dec 23 15:46:49 2016 +0100 +++ b/.hgignore Fri Jan 06 16:57:01 2017 +0100 @@ -6,4 +6,16 @@ syntax: regexp ^\.classpath$ syntax: regexp -^\.project$ \ No newline at end of file +^\.project$ +syntax: regexp +^src/main/resources/hibernate\.cfg\.xml$ +syntax: regexp +^src/main/resources/log4j\.properties$ +syntax: regexp +^src/main/resources/openmind\.properties$ +syntax: regexp +^src/main/resources/hibernate\.cfg\.xml$ +syntax: regexp +^src/main/resources/log4j\.properties$ +syntax: regexp +^src/main/resources/openmind\.properties$ \ No newline at end of file diff -r c11fd8ca5c0a -r 58659e865279 src/main/java/cl/maps/triple/TripleMap.java --- a/src/main/java/cl/maps/triple/TripleMap.java Fri Dec 23 15:46:49 2016 +0100 +++ b/src/main/java/cl/maps/triple/TripleMap.java Fri Jan 06 16:57:01 2017 +0100 @@ -143,6 +143,7 @@ } this.mapOwnKey.remove(key.getOwnKey()); + /* int hashCodeInput = key.hashCode(); System.out.println(hashCodeInput); if(map.size() == 1){ @@ -150,6 +151,7 @@ int hashCode2 = uu.hashCode(); System.out.println(hashCode2); } + */ return this.map.remove(key); } diff -r c11fd8ca5c0a -r 58659e865279 src/main/java/org/mpi/openmind/cache/WrapperService.java --- a/src/main/java/org/mpi/openmind/cache/WrapperService.java Fri Dec 23 15:46:49 2016 +0100 +++ b/src/main/java/org/mpi/openmind/cache/WrapperService.java Fri Jan 06 16:57:01 2017 +0100 @@ -1378,8 +1378,7 @@ } public void removeNodeList(List nodeList) { - System.out.println("\n ### Deleting Nodes size total " - + nodeList.size() + " ### \n"); + //System.out.println("\n ### Deleting Nodes size total "+ nodeList.size() + " ### \n"); this.getPS().removeNodeList(nodeList); } diff -r c11fd8ca5c0a -r 58659e865279 src/main/java/org/mpi/openmind/configuration/ConfigurationService.java --- a/src/main/java/org/mpi/openmind/configuration/ConfigurationService.java Fri Dec 23 15:46:49 2016 +0100 +++ b/src/main/java/org/mpi/openmind/configuration/ConfigurationService.java Fri Jan 06 16:57:01 2017 +0100 @@ -84,8 +84,7 @@ s += "\n"; logger.info(s); } catch (IOException e) { - System.out.println("Properties file \'" + OM_PROPERTIES + " no found."); - e.printStackTrace(); + logger.error("Properties file \'" + OM_PROPERTIES + " no found."); } diff -r c11fd8ca5c0a -r 58659e865279 src/main/java/org/mpi/openmind/configuration/ownvalue/loader/OwnValueRulesLoader.java --- a/src/main/java/org/mpi/openmind/configuration/ownvalue/loader/OwnValueRulesLoader.java Fri Dec 23 15:46:49 2016 +0100 +++ b/src/main/java/org/mpi/openmind/configuration/ownvalue/loader/OwnValueRulesLoader.java Fri Jan 06 16:57:01 2017 +0100 @@ -25,9 +25,9 @@ try{ Map map = OwnValueRulesLoader.load("conf/own-value.cfg.xml"); - for(OwnValueRule rule : map.values()){ + /* for(OwnValueRule rule : map.values()){ System.out.println(rule); - } + } */ }catch(Exception e){ e.printStackTrace(); } diff -r c11fd8ca5c0a -r 58659e865279 src/main/java/org/mpi/openmind/configuration/ownvalue/loader/PrintRulesLoader.java --- a/src/main/java/org/mpi/openmind/configuration/ownvalue/loader/PrintRulesLoader.java Fri Dec 23 15:46:49 2016 +0100 +++ b/src/main/java/org/mpi/openmind/configuration/ownvalue/loader/PrintRulesLoader.java Fri Jan 06 16:57:01 2017 +0100 @@ -106,9 +106,9 @@ public static void main(String[] args) { try{ List ruleList = PrintRulesLoader.load("conf/own-value.cfg.xml"); - for(PrintRule rule : ruleList){ + /* for(PrintRule rule : ruleList){ System.out.println(rule); - } + } */ }catch(Exception e){ e.printStackTrace(); diff -r c11fd8ca5c0a -r 58659e865279 src/main/java/org/mpi/openmind/repository/services/AbstractPersistenceService.java --- a/src/main/java/org/mpi/openmind/repository/services/AbstractPersistenceService.java Fri Dec 23 15:46:49 2016 +0100 +++ b/src/main/java/org/mpi/openmind/repository/services/AbstractPersistenceService.java Fri Jan 06 16:57:01 2017 +0100 @@ -1554,8 +1554,8 @@ */ public List getLightweightEntities(String systemStatus, Long id, String type, String objectClass, String ownValue, boolean ownValueSubString, int maxResult) { - logger.debug("GET LW ENTITIES [type=" + type + " id=" + id + ", objectClass=" + objectClass + ", ownValue=" - + ownValue + "]"); + //logger.debug("GET LW ENTITIES [type=" + type + " id=" + id + ", objectClass=" + objectClass + ", ownValue=" + // + ownValue + "]"); List entities = new ArrayList(); /*