commit | ff9e55a61443d7700c5a9bc87bdb2a5e554caa52 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Wed Jul 15 22:08:19 2015 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Wed Jul 15 22:08:19 2015 +0000 |
tree | 6ca07bd5842428880e3947b16c3227f5919e4f7c | |
parent | feddfb66326c17333a17a18092317f5433aa0d98 [diff] |
FELIX-4957 : [DS][RFC-212] Various issues with field references git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1691287 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/helper/FieldHandler.java b/scr/src/main/java/org/apache/felix/scr/impl/helper/FieldHandler.java index b3eeeae..9d20620 100644 --- a/scr/src/main/java/org/apache/felix/scr/impl/helper/FieldHandler.java +++ b/scr/src/main/java/org/apache/felix/scr/impl/helper/FieldHandler.java
@@ -478,6 +478,10 @@ private boolean initField(final Object componentInstance, final SimpleLogger logger ) { + if ( valueType == ParamType.ignore ) + { + return true; + } try { if ( metadata.isMultiple() ) @@ -990,7 +994,7 @@ public boolean init(final Object componentInstance, final SimpleLogger logger) { - if ( fieldExists( logger) ) + if ( fieldExists( logger ) ) { return initField(componentInstance, logger); }