Skip to content

Commit c6818fe

Browse files
committed
Polishing
See gh-23018
1 parent 141ef90 commit c6818fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core/src/main/java/org/springframework/core/SortedProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
@SuppressWarnings("serial")
5050
class SortedProperties extends Properties {
5151

52-
static final String EOL = System.getProperty("line.separator");
52+
static final String EOL = System.lineSeparator();
5353

5454
private static final Comparator<Object> keyComparator = //
5555
(key1, key2) -> String.valueOf(key1).compareTo(String.valueOf(key2));

0 commit comments

Comments
 (0)