Author: dgolovin
Date: 2007-09-24 15:38:28 -0400 (Mon, 24 Sep 2007)
New Revision: 3776
Modified:
trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/common/kb/KbPlugin.java
Log:
fix for
http://jira.jboss.com/jira/browse/JBIDE-790
for logging the code was using wrong method to get KB plugin instance.
Switched to KbPlugin.getDefault() to obtain Plagin activator instance
Modified:
trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/common/kb/KbPlugin.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/common/kb/KbPlugin.java 2007-09-24
19:28:00 UTC (rev 3775)
+++
trunk/common/plugins/org.jboss.tools.common.kb/src/org/jboss/tools/common/kb/KbPlugin.java 2007-09-24
19:38:28 UTC (rev 3776)
@@ -97,21 +97,11 @@
static class KbPluginHolder {
static KbPlugin INSTANCE = (KbPlugin)Platform.getPlugin(PLUGIN_ID);
}
-
+
/**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static KbPlugin getDefaultPlugin() {
- return plugin;
- }
-
- /**
* @return IPluginLog object
*/
public static IPluginLog getPluginLog() {
- return getDefaultPlugin();
+ return getDefault();
}
-
}
\ No newline at end of file