= Corrected edge case of null string parsing

This commit is contained in:
Matthew Cech
2019-04-13 12:46:17 -07:00
parent 5fd6ea0c27
commit d36de01be5
4 changed files with 12 additions and 9 deletions
@@ -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)