atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venkat...@apache.org
Subject [38/50] [abbrv] incubator-atlas git commit: Remove redundant statement
Date Wed, 13 May 2015 21:28:19 GMT
Remove redundant statement

Remove a redundant statement to cure a compiler warning

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

Branch: refs/remotes/origin/master
Commit: 4112fbf5dca1d21331a5551a00eaac7b58d7b6cc
Parents: 64c7844
Author: Aaron Niskode-Dossett <aaron.dossett@target.com>
Authored: Mon May 4 13:30:11 2015 -0500
Committer: Aaron Niskode-Dossett <aaron.dossett@target.com>
Committed: Mon May 4 13:30:11 2015 -0500

----------------------------------------------------------------------
 .../scala/org/apache/hadoop/metadata/query/GremlinEvaluator.scala | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/4112fbf5/repository/src/main/scala/org/apache/hadoop/metadata/query/GremlinEvaluator.scala
----------------------------------------------------------------------
diff --git a/repository/src/main/scala/org/apache/hadoop/metadata/query/GremlinEvaluator.scala
b/repository/src/main/scala/org/apache/hadoop/metadata/query/GremlinEvaluator.scala
index b7be7dd..6a77bc3 100755
--- a/repository/src/main/scala/org/apache/hadoop/metadata/query/GremlinEvaluator.scala
+++ b/repository/src/main/scala/org/apache/hadoop/metadata/query/GremlinEvaluator.scala
@@ -104,7 +104,6 @@ class GremlinEvaluator(qry: GremlinQuery, persistenceStrategy: GraphPersistenceS
                     val v = rV.getColumn(src).get(idx)
                     sInstance.set(cName, persistenceStrategy.constructInstance(aE.dataType,
v))
                 }
-                sInstance
               addPathStruct(r, sInstance)
             }
             GremlinQueryResult(qry.expr.toString, rType, rows.toList)
@@ -137,4 +136,4 @@ object JsonHelper {
     def toJson(r: GremlinQueryResult): String = {
         writePretty(r)
     }
-}
\ No newline at end of file
+}


Mime
View raw message