mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
copyright: do not start anything when no copyright configured
This commit is contained in:
@@ -100,7 +100,10 @@ public class CopyrightManager extends AbstractProjectComponent implements JDOMEx
|
||||
ApplicationManager.getApplication().invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
if (file.isValid() && file.isWritable()) {
|
||||
new UpdateCopyrightProcessor(myProject, module, file).run();
|
||||
final CopyrightProfile opts = CopyrightManager.getInstance(myProject).getCopyrightOptions(file);
|
||||
if (opts != null) {
|
||||
new UpdateCopyrightProcessor(myProject, module, file).run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}, ModalityState.NON_MODAL);
|
||||
|
||||
Reference in New Issue
Block a user