commit | a6c0afc43173a6a128c4cce313f9f6f6fa479ed2 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Tue Jun 24 20:32:10 2008 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Tue Jun 24 20:32:10 2008 +0000 |
tree | bb423c360f7c20c1b0e799747cb02b321ffaf487 | |
parent | 6aa170edb51e7d407c62c0c36ae6c7ef64fa6e19 [diff] |
Applied patch to fix a type error when creating dynamic wires. (FELIX-606) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@671331 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java b/framework/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java index 4070ff0..9471c8b 100755 --- a/framework/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java +++ b/framework/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java
@@ -701,14 +701,14 @@ if (candidate != null) { IWire[] wires = importer.getWires(); - R4Wire[] newWires = null; + IWire[] newWires = null; if (wires == null) { - newWires = new R4Wire[1]; + newWires = new IWire[1]; } else { - newWires = new R4Wire[wires.length + 1]; + newWires = new IWire[wires.length + 1]; System.arraycopy(wires, 0, newWires, 0, wires.length); } @@ -3545,4 +3545,4 @@ return sb.toString(); } -} \ No newline at end of file +}