summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--java.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/java.html.markdown b/java.html.markdown
index 56bffd88..57c10390 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -566,7 +566,7 @@ class PennyFarthing extends Bicycle {
// out: http://docs.oracle.com/javase/tutorial/java/annotations/
@Override
public void setGear(int gear) {
- gear = 0;
+ this.gear = 0;
}
}