Skip to content

Commit

Permalink
Fixed MID-2453 again
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Jul 31, 2015
1 parent ddd9e20 commit d8e4e01
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -162,7 +162,7 @@ public ObjectDelta<? extends FocusType> getSummarizedFocusDeltas() throws Schema
}

public boolean hasFocusOfType(Class<? extends FocusType> clazz) {
return clazz.isAssignableFrom(getFocusContext().getObjectTypeClass());
return getFocusContext() != null && clazz.isAssignableFrom(getFocusContext().getObjectTypeClass());
}

public boolean hasFocusOfType(QName focusType) {
Expand Down

0 comments on commit d8e4e01

Please sign in to comment.