You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2013/10/10 10:06:37 UTC

svn commit: r1530870 - /clerezza/trunk/rdf.utils/src/main/java/org/apache/clerezza/rdf/utils/Smusher.java

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) {