Skip to content

Commit

Permalink
Fixed java.lang.NullPointerException with getNotifyAll() and getNotif…
Browse files Browse the repository at this point in the history
…yClose()
  • Loading branch information
JPZV committed Nov 15, 2020
1 parent 7e7a128 commit 16b3d44
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ml/jordie/vatsimnotify/vatsim/model/NotifyConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ public NotifyConfig()

public Boolean getNotifyAll()
{
if(this._notifyAll == null)
return false;

return this._notifyAll;
}
public void setNotifyAll(Boolean value)
Expand All @@ -33,6 +36,9 @@ public void setNotifyAll(Boolean value)

public Boolean getNotifyClose()
{
if(this._notifyClose == null)
return false;

return this._notifyClose;
}
public void setNotifyClose(Boolean value)
Expand Down

0 comments on commit 16b3d44

Please sign in to comment.