Skip to content

Commit 66eb8cc

Browse files
author
plamen5kov
committed
fix for issue #592
1 parent fd888ec commit 66eb8cc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test-app/app/src/main/java/com/tns/Util.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ private static void silentClose(Closeable closeable)
114114

115115
public static Boolean isPositive(String value)
116116
{
117+
if(value == null) {
118+
return false;
119+
}
120+
117121
return (value.equals("true") || value.equals("TRUE") ||
118122
value.equals("yes") || value.equals("YES") ||
119123
value.equals("enabled") || value.equals("ENABLED"));

0 commit comments

Comments
 (0)