[jbosstools-commits] JBoss Tools SVN: r7023 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Mar 19 18:01:11 EDT 2008
Author: dgolovin
Date: 2008-03-19 18:01:11 -0400 (Wed, 19 Mar 2008)
New Revision: 7023
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/JspEditorPlugin.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1936
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/JspEditorPlugin.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/JspEditorPlugin.java 2008-03-19 21:19:48 UTC (rev 7022)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/JspEditorPlugin.java 2008-03-19 22:01:11 UTC (rev 7023)
@@ -38,8 +38,6 @@
public class JspEditorPlugin extends BaseUIPlugin {
//The shared instance.
private static JspEditorPlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
public static final String PLUGIN_ID = "org.jboss.tools.jst.jsp";
@@ -49,12 +47,6 @@
*/
public JspEditorPlugin() {
plugin = this;
- try {
- resourceBundle= ResourceBundle.getBundle("org.jboss.tools.jst.jsp.JspEditorPluginResources");
- } catch (MissingResourceException x) {
- getPluginLog().logError(x);
- resourceBundle = null;
- }
}
@@ -65,26 +57,6 @@
return ResourcesPlugin.getWorkspace();
}
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle= JspEditorPlugin.getDefault().getResourceBundle();
- try {
- return bundle.getString(key);
- } catch (MissingResourceException e) {
- getPluginLog().logError(e);
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- return resourceBundle;
- }
public void startup() throws CoreException {
super.startup();
More information about the jbosstools-commits
mailing list