commit | 692ec40b6a5c721bfd7eea8f1d66b664f2a08bc1 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Tue Feb 17 06:59:38 2015 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Tue Feb 17 06:59:38 2015 +0000 |
tree | 54f76d16bbbe32549aa620db31a42403b7618f58 | |
parent | 47bf91598ab701d1ea1ea466622efad8f8f41c41 [diff] |
FELIX-4785 : Incompatible SCR API git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1660303 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr-compat/src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java b/scr-compat/src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java index 0595005..f870078 100644 --- a/scr-compat/src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java +++ b/scr-compat/src/main/java/org/apache/felix/scr/impl/compat/ScrServiceImpl.java
@@ -259,7 +259,7 @@ public ComponentInstance getComponentInstance() { - // TODO - how do we want to enable this? + // returning null as we should have never returned this in the first place return null; } @@ -306,12 +306,12 @@ public void enable() { - this.runtime.enableComponent(this.description); + // noop as the old model was broken } public void disable() { - this.runtime.disableComponent(this.description); + // noop as the old model was broken } }