Please sign in to comment.
Fix usage of String.split
The build currently fails with this error: ``` /Users/prateek/dev/src/github.com/f2prateek/rx-preferences/rx-preferences/src/test/java/com/f2prateek/rx/preferences2/PointPreferenceConverter.java:7: warning: [StringSplitter] String.split(String) has surprising behavior String parts = serialized.split(","); ^ (see http://errorprone.info/bugpattern/StringSplitter) Did you mean 'String parts = serialized.split(",", -1);'? error: warnings found and -Werror specified 1 error ``` This fixes the usage of String.split as recommended by http://errorprone.info/bugpattern/StringSplitter.
- Loading branch information...
Showing with 1 addition and 1 deletion.