aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csie...@apache.org
Subject svn commit: r1784746 - /aries/trunk/component-dsl/component-dsl/src/main/java/org/apache/aries/osgi/functional/internal/OSGiImpl.java
Date Tue, 28 Feb 2017 14:48:46 GMT
Author: csierra
Date: Tue Feb 28 14:48:46 2017
New Revision: 1784746

URL: http://svn.apache.org/viewvc?rev=1784746&view=rev
Log:
Mark as @safeVarArgs

Modified:
    aries/trunk/component-dsl/component-dsl/src/main/java/org/apache/aries/osgi/functional/internal/OSGiImpl.java

Modified: aries/trunk/component-dsl/component-dsl/src/main/java/org/apache/aries/osgi/functional/internal/OSGiImpl.java
URL: http://svn.apache.org/viewvc/aries/trunk/component-dsl/component-dsl/src/main/java/org/apache/aries/osgi/functional/internal/OSGiImpl.java?rev=1784746&r1=1784745&r2=1784746&view=diff
==============================================================================
--- aries/trunk/component-dsl/component-dsl/src/main/java/org/apache/aries/osgi/functional/internal/OSGiImpl.java
(original)
+++ aries/trunk/component-dsl/component-dsl/src/main/java/org/apache/aries/osgi/functional/internal/OSGiImpl.java
Tue Feb 28 14:48:46 2017
@@ -209,7 +209,8 @@ public class OSGiImpl<T> implements OSGi
 	}
 
 	@Override
-	public OSGi<Void> distribute(Function<T, OSGi<?>>... funs) {
+	@SafeVarargs
+	final public OSGi<Void> distribute(Function<T, OSGi<?>>... funs) {
 		return new OSGiImpl<>(bundleContext -> {
 			ArrayList<OSGiResult> results = new ArrayList<>();
 



Mime
View raw message