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 2016/09/13 01:22:09 UTC

incubator-s2graph git commit: [S2GRAPH-111] typo fix: getServiceLable -> getServiceLabel

Repository: incubator-s2graph
Updated Branches:
  refs/heads/master 26bfd0469 -> b32c74242


[S2GRAPH-111] typo fix: getServiceLable -> getServiceLabel

JIRA:
    [S2GRAPH-111] https://issues.apache.org/jira/browse/S2GRAPH-111

Pull Request:
    Closes #55

Authors
    Jong Wook Kim: jongwook@nyu.edu


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

Branch: refs/heads/master
Commit: b32c74242cbe4fcde05f77000989df2f1f0f36c0
Parents: 26bfd04
Author: DO YUNG YOON <st...@apache.org>
Authored: Tue Sep 13 10:26:22 2016 +0900
Committer: DO YUNG YOON <st...@apache.org>
Committed: Tue Sep 13 10:26:22 2016 +0900

----------------------------------------------------------------------
 CHANGES                                                        | 3 +++
 s2core/src/main/scala/org/apache/s2graph/core/Management.scala | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/b32c7424/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index e8a9a3f..8ed49dd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -191,6 +191,9 @@ Release 0.1.0 - unreleased
     S2GRAPH-112: Additional refinements in README.md
 		(Contributed by Jong Wook Kim<jo...@nyu.edu>, committed by DOYUNG YOON).
 
+    S2GRAPH-111: typo fix: getServiceLable -> getServiceLabel
+		(Contributed by Jong Wook Kim<jo...@nyu.edu>, committed by DOYUNG YOON).
+
   TEST
     
     S2GRAPH-21: Change PostProcessBenchmarkSpec not to store and fetch test data from storage. (Committed by DOYUNG YOON).

http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/b32c7424/s2core/src/main/scala/org/apache/s2graph/core/Management.scala
----------------------------------------------------------------------
diff --git a/s2core/src/main/scala/org/apache/s2graph/core/Management.scala b/s2core/src/main/scala/org/apache/s2graph/core/Management.scala
index 5f5388b..d5b4335 100644
--- a/s2core/src/main/scala/org/apache/s2graph/core/Management.scala
+++ b/s2core/src/main/scala/org/apache/s2graph/core/Management.scala
@@ -167,7 +167,7 @@ object Management extends JSONParser {
     })
   }
 
-  def getServiceLable(label: String): Option[Label] = {
+  def getServiceLabel(label: String): Option[Label] = {
     Label.findByName(label, useCache = true)
   }
 
@@ -192,7 +192,7 @@ object Management extends JSONParser {
   def toEdge(ts: Long, operation: String, srcId: String, tgtId: String,
              labelStr: String, direction: String = "", props: String): Edge = {
 
-    val label = tryOption(labelStr, getServiceLable)
+    val label = tryOption(labelStr, getServiceLabel)
     val dir =
       if (direction == "")
 //        GraphUtil.toDirection(label.direction)