Mercurial > projects > dwt-addons
comparison dwtx/jface/text/templates/TextTemplateMessages.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 | 000f9136b8f7 |
comparison
equal
deleted
inserted
replaced
132:77bd3bb3d7b8 | 133:7d818bd32d63 |
---|---|
45 class TextTemplateMessages { | 45 class TextTemplateMessages { |
46 | 46 |
47 private static final String RESOURCE_BUNDLE= TextTemplateMessages.class.getName(); | 47 private static final String RESOURCE_BUNDLE= TextTemplateMessages.class.getName(); |
48 private static ResourceBundle fgResourceBundle= ResourceBundle.getBundle(RESOURCE_BUNDLE); | 48 private static ResourceBundle fgResourceBundle= ResourceBundle.getBundle(RESOURCE_BUNDLE); |
49 | 49 |
50 private TextTemplateMessages() { | 50 private this() { |
51 } | 51 } |
52 | 52 |
53 public static String getString(String key) { | 53 public static String getString(String key) { |
54 try { | 54 try { |
55 return fgResourceBundle.getString(key); | 55 return fgResourceBundle.getString(key); |