mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 22:42:48 +00:00
avoid taking external array as-is.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11285 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
e0b6883a60
commit
bab29034fb
1 file changed
+1
-1
@@ -60,7 +60,7 @@ public interface VariableResolver<V> {
|
||||
private final VariableResolver<? extends V>[] resolvers;
|
||||
|
||||
public Union(VariableResolver<? extends V>... resolvers) {
|
||||
this.resolvers = resolvers;
|
||||
this.resolvers = resolvers.clone();
|
||||
}
|
||||
|
||||
public Union(Collection<? extends VariableResolver<? extends V>> resolvers) {
|
||||
|
||||
Reference in new issue
Block a user