delay initialization to withstand absence of some components in upsource

This commit is contained in:
Alexey Kudravtsev
2015-03-30 15:34:29 +03:00
parent 51395d01ff
commit ec4f5e571f
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,10 +29,9 @@ import javax.swing.event.HyperlinkEvent;
public class DslErrorReporterImpl extends DslErrorReporter {
private static final Logger LOG = Logger.getInstance("#org.jetbrains.plugins.groovy.dsl.GroovyDslFileIndex");
public static final NotificationGroup NOTIFICATION_GROUP =
new NotificationGroup("Groovy DSL errors", NotificationDisplayType.BALLOON, true);
private final NotificationGroup NOTIFICATION_GROUP = new NotificationGroup("Groovy DSL errors", NotificationDisplayType.BALLOON, true);
static {
public DslErrorReporterImpl() {
NotificationsConfigurationImpl.remove("Groovy DSL parsing");
}