You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by bb...@apache.org on 2011/03/15 11:28:09 UTC

svn commit: r1081718 - /incubator/clerezza/trunk/parent/rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNode.scala

Author: bblfish
Date: Tue Mar 15 10:28:09 2011
New Revision: 1081718

URL: http://svn.apache.org/viewvc?rev=1081718&view=rev
Log:
Fixed a class mistake

Modified:
    incubator/clerezza/trunk/parent/rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNode.scala

Modified: incubator/clerezza/trunk/parent/rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNode.scala
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNode.scala?rev=1081718&r1=1081717&r2=1081718&view=diff
==============================================================================
--- incubator/clerezza/trunk/parent/rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNode.scala (original)
+++ incubator/clerezza/trunk/parent/rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNode.scala Tue Mar 15 10:28:09 2011
@@ -19,11 +19,11 @@
 package org.apache.clerezza.rdf.scala.utils
 
 import org.apache.clerezza.rdf.utils.GraphNode
-import org.apache.clerezza.rdf.core.{UriRef, Resource, Literal, TypedLiteral, LiteralFactory}
 import java.util.Iterator
 import _root_.scala.collection.JavaConversions
 import _root_.scala.collection.JavaConversions._
 import _root_.scala.reflect.Manifest
+import org.apache.clerezza.rdf.core.{TripleCollection, UriRef, Resource, Literal, TypedLiteral, LiteralFactory}
 
 class RichGraphNode(node: GraphNode) extends GraphNode(node.getNode, node.getGraph) {
 
@@ -33,7 +33,7 @@ class RichGraphNode(node: GraphNode) ext
 	 * todo: or was that just a quick hack? If it is because we don't want to use any of the superclass implementations
 	 * todo: then it would be worth creating an interface above GraphNode and implementing the interface instead...
 	 */
-	 def this(node: Resource, graph: GraphNode ) = this(new GraphNode(node,graph))
+	 def this(node: Resource, graph: TripleCollection ) = this(new GraphNode(node,graph))
     /**
      * Operator syntax shortcut to get all objects as <code>RichGraphNode</code>s
      */