1
1
/*
2
- * Copyright 2002-2025 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
39
39
* @author Chris Beams
40
40
* @author Juergen Hoeller
41
41
* @author Phillip Webb
42
- * @author Sam Brannen
43
42
* @since 3.1.1
44
43
*/
45
44
public class CompositePropertySource extends EnumerablePropertySource <Object > {
@@ -48,35 +47,13 @@ public class CompositePropertySource extends EnumerablePropertySource<Object> {
48
47
49
48
50
49
/**
51
- * Create a new empty {@code CompositePropertySource} with the given name.
52
- * @param name the name of the composite property source
53
- * @see #CompositePropertySource(String, Iterable)
54
- * @see #addPropertySource(PropertySource)
55
- * @see #addFirstPropertySource(PropertySource)
50
+ * Create a new {@code CompositePropertySource}.
51
+ * @param name the name of the property source
56
52
*/
57
53
public CompositePropertySource (String name ) {
58
54
super (name );
59
55
}
60
56
61
- /**
62
- * Create a new {@code CompositePropertySource} with the given name and
63
- * property sources supplied as an {@link Iterable} or {@link PropertySources}
64
- * implementation, preserving the original order of the property sources.
65
- * @param name the name of the composite property source
66
- * @param propertySources the initial set of {@link PropertySource} instances
67
- * @since 6.2.7
68
- * @see PropertySources
69
- * @see MutablePropertySources
70
- * @see #addPropertySource(PropertySource)
71
- * @see #addFirstPropertySource(PropertySource)
72
- */
73
- public CompositePropertySource (String name , Iterable <PropertySource <?>> propertySources ) {
74
- this (name );
75
- for (PropertySource <?> propertySource : propertySources ) {
76
- this .propertySources .add (propertySource );
77
- }
78
- }
79
-
80
57
81
58
@ Override
82
59
@ Nullable
0 commit comments