Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Commit 76b3d8d

Browse files
authored
Merge pull request #29 from Qup42/master
Fixed isAnonymus return Values
2 parents edccb3a + 71f987d commit 76b3d8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/me/checkium/vhackapi/console/ScannedNode.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ public Integer getMoney() {
110110

111111
public Boolean isAnonymous() {
112112
if (!success) return null;
113-
if (anonymous.equals("YES")) return true;
114-
return null;
113+
return "YES".equals(anonymous);
115114
}
116115

117116

0 commit comments

Comments
 (0)