Skip to content

Commit

Permalink
fix some java snippets
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
  • Loading branch information
Reza Jelveh authored and Martin Grenfell committed Feb 19, 2009
1 parent ceb562a commit 9bd74e2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions java/for.snippet
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
for(<+int i=0+>; <+condition+>; <+i+++>){
<++>
for(${1:int i=0}; ${2:condition}; ${3:i++}){
${4}
}
4 changes: 2 additions & 2 deletions java/if.snippet
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
if(<++>){
<++>
if(${1}){
${2}
}
6 changes: 3 additions & 3 deletions java/ife.snippet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if(<++>){
<++>
if(${1}){
${2}
}else{
<++>
${3}
}
2 changes: 1 addition & 1 deletion java/log.snippet
Original file line number Diff line number Diff line change
@@ -1 +1 @@
System.<+out+>.println(<++>);
System.${1:out}.println(${2});
4 changes: 2 additions & 2 deletions java/m.snippet
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<+public+> <+void+> <+methodName+>(<++>) {
<++>
${1:public} ${2:void} ${3:methodName}(${4}) {
${5}
}

0 comments on commit 9bd74e2

Please sign in to comment.