commit | 8797cf932e7412843f0b3b1eec68c5d299bc58b6 | [log] [tgz] |
---|---|---|
author | Karsten Thoms <karsten.thoms@itemis.de> | Mon Oct 28 17:43:18 2019 +0100 |
committer | Mickael Istria <mistria@redhat.com> | Mon Oct 28 14:52:24 2019 -0400 |
tree | 8711bc838a8051d47285ae5094db64172a7cec25 | |
parent | df9dfa9ffc21130c92f18bfe7b9a268121780c36 [diff] |
Bug 552475 - applyHighlights(): Guard against null annotation model sourceViewer.getAnnotationModel() might return null, which could cause a NPE when not guarded. Also set fOccurrenceAnnotations to null when no current annotation model is present. Change-Id: Id37edf61ddfb8bbfb329b4282386e30095400190 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>