Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
kernel
Commits
2a10e62d
Commit
2a10e62d
authored
Sep 06, 2016
by
Simon Barner
Browse files
- forceFullUpdate(): Avoid NPE if called before first ordinary update
parent
f3f45da3
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/annotation/view/AnnotationViewPartBase.java
View file @
2a10e62d
...
...
@@ -329,7 +329,9 @@ public abstract class AnnotationViewPartBase extends ViewPart implements ISelect
/** Enforces a full update of the view based on {@link #lastRootElement}. */
private
void
forceFullUpdate
()
{
lastAnnotationEntriesMap
.
clear
();
update
(
lastRootElement
);
if
(
lastRootElement
!=
null
)
{
update
(
lastRootElement
);
}
}
/** Sets {@link #isUpdateEnabled}. If the update is re-enabled, the view is refreshed. */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment