We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b141132 commit 22ec1e2Copy full SHA for 22ec1e2
bundles/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/PreviewWizardPage.java
@@ -673,7 +673,9 @@ private void showPreview(PreviewNode element) {
673
if (container != null) {
674
if (newViewer.getControl() instanceof IAdaptable adaptable) {
675
CompareConfiguration config = adaptable.getAdapter(CompareConfiguration.class);
676
- config.setContainer(new WizardCompareContainer(container));
+ if (config != null) {
677
+ config.setContainer(new WizardCompareContainer(container));
678
+ }
679
}
680
681
} else {
0 commit comments