summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'java.html.markdown')
-rw-r--r--java.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/java.html.markdown b/java.html.markdown
index a6026651..b4531635 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -343,7 +343,7 @@ class Bicycle {
speed -= decrement;
}
- public void setName(int newName) {
+ public void setName(String newName) {
name = newName;
}