Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-03-14 00:09:40 +0000
committerslewis2007-03-14 00:09:40 +0000
commit6720699ac7f381a4481e90283583b20aa2d88b95 (patch)
treef19fc290a4de38c7ac7ceef680ad75cf78ec23c5 /providers/bundles/org.eclipse.ecf.provider.datashare
parent83b6bbcdd5042753adc876fcaca9ba673fac6673 (diff)
downloadorg.eclipse.ecf-6720699ac7f381a4481e90283583b20aa2d88b95.tar.gz
org.eclipse.ecf-6720699ac7f381a4481e90283583b20aa2d88b95.tar.xz
org.eclipse.ecf-6720699ac7f381a4481e90283583b20aa2d88b95.zip
Refactored Trace class static methods to remove reference to Plugin class and replace with String pluginId
Diffstat (limited to 'providers/bundles/org.eclipse.ecf.provider.datashare')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/BaseChannel.java2
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/DatashareContainerAdapter.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/BaseChannel.java b/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/BaseChannel.java
index 56230d820..cc9e8c996 100644
--- a/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/BaseChannel.java
+++ b/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/BaseChannel.java
@@ -80,7 +80,7 @@ public class BaseChannel extends TransactionSharedObject implements IChannel {
this.listener = l;
}
protected void trace(String msg) {
- Trace.trace(Activator.getDefault(), msg);
+ Trace.trace(Activator.PLUGIN_ID, msg);
}
/**
* Override of TransasctionSharedObject.initialize(). This method is called
diff --git a/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/DatashareContainerAdapter.java b/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/DatashareContainerAdapter.java
index 474a092a5..96b22e3a6 100644
--- a/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/DatashareContainerAdapter.java
+++ b/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/DatashareContainerAdapter.java
@@ -55,7 +55,7 @@ public class DatashareContainerAdapter implements IChannelContainerAdapter {
this.container.getSharedObjectManager().addSharedObject(delegateID,
delegate, null);
} catch (Exception e) {
- Trace.catching(Activator.getDefault(),
+ Trace.catching(Activator.PLUGIN_ID,
DatashareProviderDebugOptions.EXCEPTIONS_CATCHING,
DatashareContainerAdapter.class,
"DatashareContainerAdapter.initialize", e);

Back to the top