felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1598397 - /felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java
Date Thu, 29 May 2014 20:53:49 GMT
Author: pderop
Date: Thu May 29 20:53:49 2014
New Revision: 1598397

URL: http://svn.apache.org/r1598397
Log:
fixed compilation issue with java8: the add method takes a varargs of Dependency

Modified:
    felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java?rev=1598397&r1=1598396&r2=1598397&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java Thu
May 29 20:53:49 2014
@@ -148,7 +148,7 @@ public class ComponentImpl implements Co
 	}
 	
 	@Override
-	public Component add(final Dependency[] dependencies) {
+	public Component add(final Dependency ... dependencies) {
 		getExecutor().execute(new Runnable() {
 			@Override
 			public void run() {



Mime
View raw message