You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@s2graph.apache.org by st...@apache.org on 2017/11/19 02:28:58 UTC

[15/23] incubator-s2graph git commit: bug fix on copyVertex.

bug fix on copyVertex.


Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/e51289fb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/e51289fb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/e51289fb

Branch: refs/heads/master
Commit: e51289fb53526a57cc40cf5fe22d99914d2ae3e5
Parents: 5f2d4ff
Author: DO YUNG YOON <st...@apache.org>
Authored: Tue Nov 7 16:30:10 2017 +0900
Committer: DO YUNG YOON <st...@apache.org>
Committed: Tue Nov 7 16:30:10 2017 +0900

----------------------------------------------------------------------
 .../src/main/scala/org/apache/s2graph/core/S2VertexBuilder.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/e51289fb/s2core/src/main/scala/org/apache/s2graph/core/S2VertexBuilder.scala
----------------------------------------------------------------------
diff --git a/s2core/src/main/scala/org/apache/s2graph/core/S2VertexBuilder.scala b/s2core/src/main/scala/org/apache/s2graph/core/S2VertexBuilder.scala
index 4a75036..e0205c5 100644
--- a/s2core/src/main/scala/org/apache/s2graph/core/S2VertexBuilder.scala
+++ b/s2core/src/main/scala/org/apache/s2graph/core/S2VertexBuilder.scala
@@ -26,7 +26,7 @@ class S2VertexBuilder(vertex: S2VertexLike) {
 
     props.forEach(new BiConsumer[String, S2VertexProperty[_]] {
       override def accept(t: String, u: S2VertexProperty[_]) = {
-        v.property(t, u)
+        v.property(t, u.value)
       }
     })