summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-14 04:56:34 (EST)
committerCarsten Drossel2009-01-14 04:56:34 (EST)
commit5a444135645bac9b9cb12bde84e510c19d59e8f9 (patch)
tree2775c27e6bd05700ae0837efc7d0576edfd86798
parent94aaa004246c9428dd4c2965bbee240c4da31ffc (diff)
downloadorg.eclipse.riena-5a444135645bac9b9cb12bde84e510c19d59e8f9.zip
org.eclipse.riena-5a444135645bac9b9cb12bde84e510c19d59e8f9.tar.gz
org.eclipse.riena-5a444135645bac9b9cb12bde84e510c19d59e8f9.tar.bz2
removed deprecated method ExtensionInjector.doNotTrack()
-rw-r--r--org.eclipse.riena.core/src/org/eclipse/riena/core/extension/ExtensionInjector.java12
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/HeterogeneousInjectingTest.java4
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/Scribble.java2
3 files changed, 3 insertions, 15 deletions
diff --git a/org.eclipse.riena.core/src/org/eclipse/riena/core/extension/ExtensionInjector.java b/org.eclipse.riena.core/src/org/eclipse/riena/core/extension/ExtensionInjector.java
index 35b4396..8f618e7 100644
--- a/org.eclipse.riena.core/src/org/eclipse/riena/core/extension/ExtensionInjector.java
+++ b/org.eclipse.riena.core/src/org/eclipse/riena/core/extension/ExtensionInjector.java
@@ -119,18 +119,6 @@ public class ExtensionInjector {
}
/**
- * Explicitly forbid tracking of changes of the extensions.
- *
- * @return itself
- */
- @Deprecated
- public ExtensionInjector doNotTrack() {
- Assert.isTrue(!started, "ExtensionInjector already started."); //$NON-NLS-1$
- // track = false;
- return this;
- }
-
- /**
* Explicitly force specific injection, i.e. the injected types reflect that
* they are contributed from different extensions. Otherwise (which is the
* default) it will not be differentiated.
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/HeterogeneousInjectingTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/HeterogeneousInjectingTest.java
index 659d5cb..78f61d7 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/HeterogeneousInjectingTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/HeterogeneousInjectingTest.java
@@ -39,7 +39,7 @@ public class HeterogeneousInjectingTest extends RienaTestCase {
public void testPreferencesInjectionHeterogeneousSpecific() {
printTestName();
- Inject.extension(PREFERENCES).heterogeneous().into(this).specific().doNotTrack().andStart(getContext());
+ Inject.extension(PREFERENCES).heterogeneous().into(this).specific().andStart(getContext());
assertNotNull(prefs);
assertTrue(prefs.length > 1);
@@ -74,7 +74,7 @@ public class HeterogeneousInjectingTest extends RienaTestCase {
public void testPreferencesInjectionHeterogeneousUnspecific() {
printTestName();
- Inject.extension(PREFERENCES).heterogeneous().into(this).doNotTrack().andStart(getContext());
+ Inject.extension(PREFERENCES).heterogeneous().into(this).andStart(getContext());
assertNotNull(prefs);
assertEquals(1, prefs.length);
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/Scribble.java b/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/Scribble.java
index 7489f41..6a7f3db 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/Scribble.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/core/extension/Scribble.java
@@ -24,7 +24,7 @@ public class Scribble {
Inject.extension("").useType(Object.class).expectingMinMax(0, 1).into(this).andStart(context);
Inject.extension("").useType(Object.class).expectingExactly(1).into(this).update("update").specific().andStart(
context);
- Inject.extension("").heterogeneous().into(this).doNotTrack().doNotReplaceSymbols().andStart(context).stop();
+ Inject.extension("").heterogeneous().into(this).doNotReplaceSymbols().andStart(context).stop();
}
}