comparison dwtx/jface/text/templates/TemplateVariableType.d @ 133:7d818bd32d63

Fix ctors to this with gvim regexp
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:29:22 +0200
parents c4fb132a086c
children 51e6e63f930e
comparison
equal deleted inserted replaced
132:77bd3bb3d7b8 133:7d818bd32d63
54 /** The name of the type. */ 54 /** The name of the type. */
55 private final String fName; 55 private final String fName;
56 /** The parameter list. */ 56 /** The parameter list. */
57 private final List fParams; 57 private final List fParams;
58 58
59 TemplateVariableType(String name) { 59 this(String name) {
60 this(name, new String[0]); 60 this(name, new String[0]);
61 } 61 }
62 62
63 TemplateVariableType(String name, String[] params) { 63 this(String name, String[] params) {
64 Assert.isLegal(name !is null); 64 Assert.isLegal(name !is null);
65 Assert.isLegal(params !is null); 65 Assert.isLegal(params !is null);
66 fName= name; 66 fName= name;
67 fParams= Collections.unmodifiableList(new ArrayList(Arrays.asList(params))); 67 fParams= Collections.unmodifiableList(new ArrayList(Arrays.asList(params)));
68 } 68 }