Merge "docs: Adding missing open bracket in loop example. Bug: 8981302" into jb-mr2-dev
diff --git a/src/source/code-style.jd b/src/source/code-style.jd
index e371aa7..bb633fb 100644
--- a/src/source/code-style.jd
+++ b/src/source/code-style.jd
@@ -320,7 +320,7 @@
</code></pre>
<p>Loop variables should be declared in the for statement itself unless there
is a compelling reason to do otherwise:</p>
-<pre><code>for (int i = 0; i n; i++) {
+<pre><code>for (int i = 0; i < n; i++) {
doSomething(i);
}
</code></pre>
@@ -735,4 +735,4 @@
assertFalse(colorMatcher.isDistinguishable(Color.RED, Color.BLACK))
assertTrue(colorMatcher.isDistinguishable(Color.X, Color.Y))
}
-</code></pre>
\ No newline at end of file
+</code></pre>