aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csie...@apache.org
Subject svn commit: r1784903 - /aries/trunk/cdi/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/container/Phase_Publish.java
Date Wed, 01 Mar 2017 10:07:38 GMT
Author: csierra
Date: Wed Mar  1 10:07:38 2017
New Revision: 1784903

URL: http://svn.apache.org/viewvc?rev=1784903&view=rev
Log:
[ARIES-CDI] Initialize with size

Modified:
    aries/trunk/cdi/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/container/Phase_Publish.java

Modified: aries/trunk/cdi/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/container/Phase_Publish.java
URL: http://svn.apache.org/viewvc/aries/trunk/cdi/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/container/Phase_Publish.java?rev=1784903&r1=1784902&r2=1784903&view=diff
==============================================================================
--- aries/trunk/cdi/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/container/Phase_Publish.java
(original)
+++ aries/trunk/cdi/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/container/Phase_Publish.java
Wed Mar  1 10:07:38 2017
@@ -183,7 +183,7 @@ public class Phase_Publish implements Ph
 				}
 
 				ServiceDeclaration serviceDeclaration = new ServiceDeclaration(
-					ServiceLiteral.from(interfaces.toArray(new Class<?>[0]), serviceModel.getProperties()),
bean,
+					ServiceLiteral.from(interfaces.toArray(new Class<?>[interfaces.size()]), serviceModel.getProperties()),
bean,
 					creationalContext);
 
 				processServiceDeclaration(serviceDeclaration);



Mime
View raw message