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/master Commit: 6a7836cddcf3ae0322e76cd5f79f6dd9ea73a09c Parents: 0bd9b37 Author: Nick Pentreath <nick.pentre...@gmail.com> Authored: Fri Oct 4 13:33:01 2013 +0200 Committer: Nick Pentreath <nick.pentre...@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);