Skip to content

Commit

Permalink
Handling empty (null) values again
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Dec 14, 2015
1 parent b2d50be commit 8317656
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static String encodeAsResXmlAttr(String str) {
}

public static String encodeAsXmlValue(String str) {
if (str.isEmpty()) {
if (str == null || str.isEmpty()) {
return str;
}

Expand Down

0 comments on commit 8317656

Please sign in to comment.