spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [01/50] git commit: Fixing closing brace indentation
Date Fri, 11 Oct 2013 22:45:26 GMT
Updated Branches:
  refs/heads/scala-2.10 7d50f9f87 -> 0e5052ba3


Fixing closing brace indentation


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

Branch: refs/heads/scala-2.10
Commit: 6a7836cddcf3ae0322e76cd5f79f6dd9ea73a09c
Parents: 0bd9b37
Author: Nick Pentreath <nick.pentreath@gmail.com>
Authored: Fri Oct 4 13:33:01 2013 +0200
Committer: Nick Pentreath <nick.pentreath@gmail.com>
Committed: Fri Oct 4 13:33:01 2013 +0200

----------------------------------------------------------------------
 .../java/org/apache/spark/mllib/recommendation/JavaALSSuite.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/6a7836cd/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
----------------------------------------------------------------------
diff --git a/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java b/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
index ec545ef..c8e59f7 100644
--- a/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
+++ b/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
@@ -90,8 +90,8 @@ public class JavaALSSuite implements Serializable {
           double err = confidence * (truePref - prediction) * (truePref - prediction);
           sqErr += err;
           denom += 1.0;
-          }
         }
+      }
       double rmse = Math.sqrt(sqErr / denom);
       Assert.assertTrue(String.format("Confidence-weighted RMSE=%2.4f above threshold of
%2.2f",
               rmse, matchThreshold), Math.abs(rmse) < matchThreshold);


Mime
View raw message