-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid NPEs in [AJ]QuickFixProcessor.getCorrections
In both QuickFixProcessor.getCorrections(..) and AJQuickFixProcessor.getCorrections(..), avoid NPE due to calling PlatformUI.getWorkbench().getActiveWorkbenchWindow() directly from a non-display thread. The new static utility method QuickFixProcessor.getActiveWorkbenchWindow runs the call via Display.getDefault().syncExec(..). Fixes #47. Signed-off-by: Alexander Kriegisch <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters