Revision: 18239
          http://sourceforge.net/p/gate/code/18239
Author:   johann_p
Date:     2014-08-11 05:19:20 +0000 (Mon, 11 Aug 2014)
Log Message:
-----------
Apply patch for feature request #88.
Change println to logger warn/debug.

Modified Paths:
--------------
    
gate/trunk/plugins/Ontology/src/gate/creole/ontology/impl/sesame/OntologyServiceImplSesame.java

Modified: 
gate/trunk/plugins/Ontology/src/gate/creole/ontology/impl/sesame/OntologyServiceImplSesame.java
===================================================================
--- 
gate/trunk/plugins/Ontology/src/gate/creole/ontology/impl/sesame/OntologyServiceImplSesame.java
     2014-08-11 01:18:16 UTC (rev 18238)
+++ 
gate/trunk/plugins/Ontology/src/gate/creole/ontology/impl/sesame/OntologyServiceImplSesame.java
     2014-08-11 05:19:20 UTC (rev 18239)
@@ -2259,7 +2259,7 @@
           theClass = createRestrictionFromURI(r.toString(), nodeID.toString());
       } else {
         // oddd
-        System.out.println("getRestrictionForONodeIDs: Got more than one 
restriction type for: "+nodeID);
+       logger.warn("getRestrictionForONodeIDs: Got more than one restriction 
type for: "+nodeID);
         theClass = Utils.createOClass(ontology, this, node.toString(), 
OConstants.ANNONYMOUS_CLASS);
       }
       return theClass;
@@ -3426,7 +3426,7 @@
   public ResourceInfo getRestrictionValue(
       String restrictionURI, byte restrictionType)
   {
-    System.out.println("getRestrictionValue for "+restrictionURI);
+    logger.debug("getRestrictionValue for "+restrictionURI);
     URI whatValueURI = null;
     switch (restrictionType) {
       case OConstants.ALL_VALUES_FROM_RESTRICTION:

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to