commit | 28d6919a8e94ec92dd07bfdaf85f514cdcda380d | [log] [tgz] |
---|---|---|
author | David Jencks <djencks@apache.org> | Wed May 29 22:23:45 2013 +0000 |
committer | David Jencks <djencks@apache.org> | Wed May 29 22:23:45 2013 +0000 |
tree | 548bb53ff4aa4283a6845e24b4a2b094026950af | |
parent | 68b5ac6f1d067c2e5a255a3fd536f91b82d3c3a1 [diff] |
FELIX-4090 make constants constant git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1487656 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/helper/ActivateMethod.java b/scr/src/main/java/org/apache/felix/scr/impl/helper/ActivateMethod.java index 303e7f0..6687a61 100644 --- a/scr/src/main/java/org/apache/felix/scr/impl/helper/ActivateMethod.java +++ b/scr/src/main/java/org/apache/felix/scr/impl/helper/ActivateMethod.java
@@ -29,9 +29,9 @@ public class ActivateMethod extends BaseMethod { - Class[] ACTIVATE_TYPES_DS11 = + private static final Class[] ACTIVATE_TYPES_DS11 = { COMPONENT_CONTEXT_CLASS, BUNDLE_CONTEXT_CLASS, MAP_CLASS }; - Class[] ACTIVATE_TYPES_DS10 = + static final Class[] ACTIVATE_TYPES_DS10 = { COMPONENT_CONTEXT_CLASS };