Browse Source

Polishing

See gh-23018
pull/23002/head
Sam Brannen 6 years ago
parent
commit
c6818fe15b
  1. 2
      spring-core/src/main/java/org/springframework/core/SortedProperties.java

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

@ -49,7 +49,7 @@ import org.springframework.util.StringUtils; @@ -49,7 +49,7 @@ import org.springframework.util.StringUtils;
@SuppressWarnings("serial")
class SortedProperties extends Properties {
static final String EOL = System.getProperty("line.separator");
static final String EOL = System.lineSeparator();
private static final Comparator<Object> keyComparator = //
(key1, key2) -> String.valueOf(key1).compareTo(String.valueOf(key2));

Loading…
Cancel
Save