Skip to content

Commit

Permalink
Some Java snippets added. I was missing the try construct
Browse files Browse the repository at this point in the history
  • Loading branch information
taq authored and Michael Sanders committed Apr 8, 2010
1 parent 264086c commit 9dd2aa4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions snippets/java.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ snippet sy
synchronized
snippet im
import
snippet imp
implements
snippet ext
extends
snippet j.u
java.util
snippet j.i
Expand Down Expand Up @@ -76,3 +80,16 @@ snippet cos
static public final String ${1:var} = "${2}";${3}
snippet as
assert ${1:test} : "${2:Failure message}";${3}
snippet try
try {
${3}
} catch(${1:Exception} ${2:e}) {
}
snippet tryf
try {
${3}
} catch(${1:Exception} ${2:e}) {
} finally {
}
snippet rst
ResultSet ${1:rst}${2: = null}${3};${4}

0 comments on commit 9dd2aa4

Please sign in to comment.