Repository: spark
Updated Branches:
  refs/heads/master f240fe390 -> 5338772f3


remove 'return'

looks unnecessary :grinning:

Author: Yoshihiro Shimizu <[email protected]>

Closes #4268 from y-shimizu/remove-return and squashes the following commits:

12be0e9 [Yoshihiro Shimizu] remove 'return'


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5338772f
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5338772f
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5338772f

Branch: refs/heads/master
Commit: 5338772f3fe9cfe1f8caee64cce2275457d8f23f
Parents: f240fe3
Author: Yoshihiro Shimizu <[email protected]>
Authored: Thu Jan 29 16:55:00 2015 -0800
Committer: Xiangrui Meng <[email protected]>
Committed: Thu Jan 29 16:55:00 2015 -0800

----------------------------------------------------------------------
 mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/5338772f/mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala
----------------------------------------------------------------------
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala 
b/mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala
index 567a8a6..8f75e6f 100644
--- a/mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala
+++ b/mllib/src/main/scala/org/apache/spark/mllib/linalg/Vectors.scala
@@ -78,7 +78,7 @@ sealed trait Vector extends Serializable {
         result = 31 * result + (bits ^ (bits >>> 32)).toInt
       }
     }
-    return result
+    result
   }
 
   /**


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to