mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup/green code
This commit is contained in:
@@ -154,7 +154,7 @@ public class PsiDocumentManagerImpl extends PsiDocumentManagerBase implements Se
|
||||
if (doc instanceof DocumentWindow) doc = ((DocumentWindow)doc).getDelegate();
|
||||
final PostprocessReformattingAspect component = myProject.getComponent(PostprocessReformattingAspect.class);
|
||||
final FileViewProvider viewProvider = getCachedViewProvider(doc);
|
||||
if (viewProvider != null) component.doPostponedFormatting(viewProvider);
|
||||
if (viewProvider != null && component != null) component.doPostponedFormatting(viewProvider);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user