summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
authorChaitya Shah <chaityabshah@users.noreply.github.com>2015-10-16 21:50:34 -0400
committerChaitya Shah <chaityabshah@users.noreply.github.com>2015-10-16 21:50:34 -0400
commit552a885df5c325bf620545e4c31741de4ef1c04d (patch)
treefb1db7d4455fb16d4f8975cbb2302282db31aa18 /java.html.markdown
parent0e6d9f6fe9aeffc64c3adad3e4a0ee1cc0d1dd88 (diff)
Fix Spacing Inconsistency (Switch Statement)
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 fa5cf8fc..c2c1a18b 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -331,7 +331,7 @@ public class LearnJava {
// Starting in Java 7 and above, switching Strings works like this:
String myAnswer = "maybe";
- switch(myAnswer){
+ switch(myAnswer) {
case "yes":
System.out.println("You answered yes.");
break;