Browse Source

ConstructorArgumentValues exposed indexed arguments in the order of definition (SPR-5554)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@805 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Juergen Hoeller 17 years ago
parent
commit
05919c1cd3
  1. 6
      org.springframework.beans/src/main/java/org/springframework/beans/factory/config/ConstructorArgumentValues.java

6
org.springframework.beans/src/main/java/org/springframework/beans/factory/config/ConstructorArgumentValues.java

@ -1,5 +1,5 @@ @@ -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");
* you may not use this file except in compliance with the License.
@ -17,8 +17,8 @@ @@ -17,8 +17,8 @@
package org.springframework.beans.factory.config;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
@ -42,7 +42,7 @@ import org.springframework.util.ObjectUtils; @@ -42,7 +42,7 @@ import org.springframework.util.ObjectUtils;
*/
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>();

Loading…
Cancel
Save