commit | f48fc53e65583aa61d64ad4568058d528a0fb359 | [log] [tgz] |
---|---|---|
author | Marcel Offermans <marrs@apache.org> | Fri Dec 16 12:14:16 2011 +0000 |
committer | Marcel Offermans <marrs@apache.org> | Fri Dec 16 12:14:16 2011 +0000 |
tree | 981fbb8770921816daf4729aca0b86d07cb4fd55 | |
parent | 03e16502814afd0168fd62381f1810db713b4705 [diff] |
FELIX-3245 applied the patch git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1215105 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java b/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java index 980c090..523c6e8 100644 --- a/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java +++ b/deploymentadmin/autoconf/src/main/java/org/apache/felix/deployment/rp/autoconf/AutoConfResourceProcessor.java
@@ -516,7 +516,7 @@ result = typedContent; } else if (cardinality < 0) { - if (typedContent.length == cardinality) { + if (typedContent.length <= Math.abs(cardinality)) { result = new Vector(Arrays.asList(typedContent)); } else { @@ -524,7 +524,7 @@ } } else if (cardinality > 0) { - if (typedContent.length == cardinality) { + if (typedContent.length <= cardinality) { result = typedContent; } else {