From 080b07be13f7b94f1000ba12367071136659a632 Mon Sep 17 00:00:00 2001 From: Tom Cammann Date: Wed, 30 Jan 2013 11:29:34 +0000 Subject: [PATCH] Removed some redundant imports --- UltiSnips/java.snippets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UltiSnips/java.snippets b/UltiSnips/java.snippets index c1b8b75..ee2bb69 100644 --- a/UltiSnips/java.snippets +++ b/UltiSnips/java.snippets @@ -5,6 +5,9 @@ # Many of the snippets here use a global option called # "g:ultisnips_java_brace_style" which, if set to "nl" will put a newline # before '{' braces. +# Setting "g:ultisnips_java_junit" will change how the test method snippet +# looks, it is defaulted to junit4, setting this option to 3 will remove the +# @Test annotation from the method global !p def junit(snip): @@ -97,7 +100,6 @@ snippet clc "class with constructor, fields, setter and getters" !b public class `!p snip.rv = snip.basename or "untitled"` { `!p -import re args = getArgs(t[1]) if len(args) == 0: snip.rv = "" for i in args: @@ -128,7 +130,6 @@ snippet clc "class with constucutor, with field names" b public class `!p snip.rv = snip.basename or "untitled"` { `!p -import re args = getArgs(t[1]) for i in args: snip.rv += "\n\tprivate " + i[0] + " " + i[1]+ ";" @@ -257,7 +258,6 @@ endsnippet snippet cn "constructor, \w fields + assigments" b `!p -import re args = getArgs(t[1]) for i in args: snip.rv += "\n\tprivate " + i[0] + " " + i[1]+ ";"