ConstructorArgumentValues exposed indexed arguments in the order of definition (SPR-5554)
This commit is contained in:
parent
a004ed1c51
commit
423c4113ee
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2008 the original author or authors.
|
* Copyright 2002-2009 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -17,8 +17,8 @@
|
||||||
package org.springframework.beans.factory.config;
|
package org.springframework.beans.factory.config;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
import java.util.LinkedHashMap;
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
@ -42,7 +42,7 @@ import org.springframework.util.ObjectUtils;
|
||||||
*/
|
*/
|
||||||
public class ConstructorArgumentValues {
|
public class ConstructorArgumentValues {
|
||||||
|
|
||||||
private final Map<Integer, ValueHolder> indexedArgumentValues = new HashMap<Integer, ValueHolder>();
|
private final Map<Integer, ValueHolder> indexedArgumentValues = new LinkedHashMap<Integer, ValueHolder>();
|
||||||
|
|
||||||
private final List<ValueHolder> genericArgumentValues = new LinkedList<ValueHolder>();
|
private final List<ValueHolder> genericArgumentValues = new LinkedList<ValueHolder>();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue