Signed-off-by:Roland Häder <roland@mxchange.org>
if (null == event) {
// Throw NPE
throw new NullPointerException("event is null"); //NOI18N
+ } else if (event.getSharingType() == null) {
+ // Throw NPE
+ throw new NullPointerException("event.sharingType is null"); //NOI18N
} else if (event.getSharingType() != SharingType.ENDED) {
// Wrong event
return;
if (null == event) {
// Throw NPE
throw new NullPointerException("event is null"); //NOI18N
+ } else if (event.getSharingType() == null) {
+ // Throw NPE
+ throw new NullPointerException("event.sharingType is null"); //NOI18N
} else if (event.getSharingType() != SharingType.STARTED) {
// Wrong event
return;