diff --git a/platform/lang-api/src/com/intellij/openapi/roots/WatchedRootsProvider.java b/platform/lang-api/src/com/intellij/openapi/roots/WatchedRootsProvider.java index 8f1534d2e05f..3f43043b0902 100644 --- a/platform/lang-api/src/com/intellij/openapi/roots/WatchedRootsProvider.java +++ b/platform/lang-api/src/com/intellij/openapi/roots/WatchedRootsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2009 JetBrains s.r.o. + * Copyright 2000-2012 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. @@ -13,11 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -/* - * User: anna - * Date: 27-Dec-2007 - */ package com.intellij.openapi.roots; import com.intellij.openapi.extensions.ExtensionPointName; @@ -25,9 +20,13 @@ import org.jetbrains.annotations.NotNull; import java.util.Set; +/** + * @author anna + * @since 27-Dec-2007 + */ public interface WatchedRootsProvider { - ExtensionPointName EP_NAME = new ExtensionPointName("com.intellij.roots.watchedRootsProvider"); + @NotNull Set getRootsToWatch(); } \ No newline at end of file diff --git a/platform/platform-impl/src/com/intellij/internal/statistic/updater/SendStatisticsProjectComponent.java b/platform/platform-impl/src/com/intellij/internal/statistic/updater/SendStatisticsProjectComponent.java index 2771a3f8535d..8fbff75c14d7 100644 --- a/platform/platform-impl/src/com/intellij/internal/statistic/updater/SendStatisticsProjectComponent.java +++ b/platform/platform-impl/src/com/intellij/internal/statistic/updater/SendStatisticsProjectComponent.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2011 JetBrains s.r.o. + * Copyright 2000-2012 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. @@ -30,11 +30,11 @@ import com.intellij.util.Alarm; import org.jetbrains.annotations.NotNull; public class SendStatisticsProjectComponent implements ProjectComponent { + private static final int DELAY_IN_MIN = 10; + private Project myProject; private Alarm myAlarm; - private static int DELAY_IN_MIN = 10; - public SendStatisticsProjectComponent(Project project) { myProject = project; myAlarm = new Alarm(Alarm.ThreadToUse.OWN_THREAD, myProject);