From c24c99cc654eb2af38abe8cf532b94cc30623d4f Mon Sep 17 00:00:00 2001 From: Ole Hansen Date: Wed, 11 Jun 2014 11:37:36 +0200 Subject: [PATCH] Corrected constructor call --- snippets/java.snippets | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/java.snippets b/snippets/java.snippets index ab35649..c3986d3 100644 --- a/snippets/java.snippets +++ b/snippets/java.snippets @@ -91,16 +91,16 @@ snippet v ## ## Declaration for ArrayList snippet d.al - List<${1:Object}> ${2:list} = ArrayList<$1>;${0} + List<${1:Object}> ${2:list} = new ArrayList<$1>();${0} ## Declaration for HashMap snippet d.hm - Map<${1:Object}, ${2:Object}> ${3:map} = HashMap<$1, $2>;${0} + Map<${1:Object}, ${2:Object}> ${3:map} = new HashMap<$1, $2>();${0} ## Declaration for HashSet snippet d.hs - Set<${1:Object}> ${2:set} = HashSet<$1>;${0} + Set<${1:Object}> ${2:set} = new HashSet<$1>();${0} ## Declaration for Stack snippet d.st - Stack<${1:Object}> ${2:stack} = Stack<$1>;${0} + Stack<${1:Object}> ${2:stack} = new Stack<$1>();${0} ## ## Enhancements to Methods, variables, classes, etc. snippet ab