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<>();