= Corrected edge case of null string parsing
This commit is contained in:
1 parent
5fd6ea0c27
commit
d36de01be5
4 files changed
+12
-9
No files matched your search
@@ -109,6 +109,9 @@ public class SectionedKeyValueStore
|
||||
// account of some characters having specific regex meanings.
|
||||
private void Parse(String input)
|
||||
{
|
||||
if(input == null)
|
||||
return;
|
||||
|
||||
String[] sections = input.split("\\" + SectionStart);
|
||||
|
||||
for(int sec = 0; sec < sections.length; ++sec)
|
||||
|
||||
Reference in new issue
Block a user