mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup
This commit is contained in:
@@ -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<WatchedRootsProvider> EP_NAME = new ExtensionPointName<WatchedRootsProvider>("com.intellij.roots.watchedRootsProvider");
|
||||
|
||||
@NotNull
|
||||
Set<String> getRootsToWatch();
|
||||
}
|
||||
+3
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user