Skip to content

Commit

Permalink
dbs-leipzig#877 changed null string to enum constant
Browse files Browse the repository at this point in the history
  • Loading branch information
2start committed Jul 30, 2018
1 parent 3c29930 commit 2fe2d1f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -293,7 +293,7 @@ private static Object parseMapProperty(
* @return Returns null
*/
private static Object parseNullProperty(String nullString) throws IllegalArgumentException {
if (nullString != null && nullString.equalsIgnoreCase("null")) {
if (nullString != null && nullString.equalsIgnoreCase(TypeString.NULL.getTypeString())) {
return null;
} else {
throw new IllegalArgumentException("Only null represents a null string.");
Expand Down

0 comments on commit 2fe2d1f

Please sign in to comment.