Commit edc5b4d
authored
When parsing transport files that may contain comments we split on
newline. On windows systems these files _might_ have the line feed
replaced by CRLF. This commit adjusts the parsing to only split on line
feed so that regardless of what the system line separator is we will
split the lines as needed.
1 parent 02eace9 commit edc5b4d
File tree
2 files changed
+8
-4
lines changed- build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/transport
2 files changed
+8
-4
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments