Commit 9a15c77
authored
Change ScriptSplitter to use charAt instead of toString endsWith
Fixed an issue with the `ScriptSplitter#split` method, where encountering whitespace would result in the StringBuilder building the entire string just to check the last character in the string.1 parent 10cc854 commit 9a15c77
File tree
1 file changed
+1
-1
lines changed- modules/database-commons/src/main/java/org/testcontainers/ext
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments