File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
spring-beans/src/main/java/org/springframework/beans
spring-core/src/main/java/org/springframework/core/env Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 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.
25
25
import java .util .Map ;
26
26
import java .util .Set ;
27
27
import java .util .Spliterator ;
28
- import java .util .Spliterators ;
29
28
import java .util .stream .Stream ;
30
29
31
30
import org .springframework .lang .Nullable ;
@@ -255,7 +254,7 @@ public Iterator<PropertyValue> iterator() {
255
254
256
255
@ Override
257
256
public Spliterator <PropertyValue > spliterator () {
258
- return Spliterators . spliterator ( this .propertyValueList , 0 );
257
+ return this .propertyValueList . spliterator ( );
259
258
}
260
259
261
260
@ Override
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2020 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.
19
19
import java .util .Iterator ;
20
20
import java .util .List ;
21
21
import java .util .Spliterator ;
22
- import java .util .Spliterators ;
23
22
import java .util .concurrent .CopyOnWriteArrayList ;
24
23
import java .util .stream .Stream ;
25
24
@@ -69,7 +68,7 @@ public Iterator<PropertySource<?>> iterator() {
69
68
70
69
@ Override
71
70
public Spliterator <PropertySource <?>> spliterator () {
72
- return Spliterators . spliterator ( this .propertySourceList , 0 );
71
+ return this .propertySourceList . spliterator ( );
73
72
}
74
73
75
74
@ Override
You can’t perform that action at this time.
0 commit comments