clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1530870 - /clerezza/trunk/rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/Smusher.java
Date Thu, 10 Oct 2013 08:06:37 GMT
Author: reto
Date: Thu Oct 10 08:06:37 2013
New Revision: 1530870

URL: http://svn.apache.org/r1530870
Log:
CLEREZZA-830: splitted method

Modified:
    clerezza/trunk/rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/Smusher.java

Modified: clerezza/trunk/rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/Smusher.java
URL: http://svn.apache.org/viewvc/clerezza/trunk/rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/Smusher.java?rev=1530870&r1=1530869&r2=1530870&view=diff
==============================================================================
--- clerezza/trunk/rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/Smusher.java (original)
+++ clerezza/trunk/rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/Smusher.java Thu
Oct 10 08:06:37 2013
@@ -73,6 +73,10 @@ public class Smusher {
             equivalentNodes.add(triple.getSubject());
         }
         Set<Set<NonLiteral>> unitedEquivalenceSets = uniteSetsWithCommonElement(ifp2nodesMap.values());
+        smush(mGraph, unitedEquivalenceSets);
+    }
+    
+    public static void smush(MGraph mGraph, Set<Set<NonLiteral>> unitedEquivalenceSets)
{
         Map<NonLiteral, NonLiteral> current2ReplacementMap = new HashMap<NonLiteral,
NonLiteral>();
         final MGraph owlSameAsGraph = new SimpleMGraph();
         for (Set<NonLiteral> equivalenceSet : unitedEquivalenceSets) {



Mime
View raw message