Skip to content

Commit 3eecaba

Browse files
Update dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy/source/KeyValueSourceWrapper.java
Co-authored-by: Jay DeLuca <jaydeluca4@gmail.com>
1 parent 0d05098 commit 3eecaba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy/source/KeyValueSourceWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public String getValue() {
5252
@Nullable
5353
public static List<SourceWrapper> parse(String source) {
5454
Objects.requireNonNull(source, "source cannot be null");
55-
String[] lines = source.split("\\R", -1);
55+
String[] lines = LINE_SEPARATOR.split(source, -1);
5656
List<SourceWrapper> wrappers = new ArrayList<>();
5757
for (String rawLine : lines) {
5858
String trimmedLine = rawLine.trim();

0 commit comments

Comments
 (0)