mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
presentable thread name
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
package com.intellij.openapi.util;
|
||||
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
@@ -29,7 +30,7 @@ public class SimpleTimer {
|
||||
private final Timer ourTimer;
|
||||
|
||||
private static final SimpleTimer ourInstance = new SimpleTimer();
|
||||
private static final String THREAD_NAME = "SimpleTimer";
|
||||
@NonNls private static final String THREAD_NAME = "SimpleTimer";
|
||||
|
||||
private long myNextScheduledTime = Long.MAX_VALUE;
|
||||
private TimerTask myNextProcessingTask;
|
||||
|
||||
@@ -48,7 +48,7 @@ public class SvnAuthenticationNotifier extends GenericNotifierImpl<SvnAuthentica
|
||||
private final SvnVcs myVcs;
|
||||
private final RootsToWorkingCopies myRootsToWorkingCopies;
|
||||
private final Map<SVNURL, Boolean> myCopiesPassiveResults;
|
||||
private Timer myTimer;
|
||||
private final Timer myTimer;
|
||||
|
||||
public SvnAuthenticationNotifier(final SvnVcs svnVcs) {
|
||||
super(svnVcs.getProject(), ourGroupId, "Not Logged To Subversion", NotificationType.ERROR);
|
||||
@@ -56,7 +56,7 @@ public class SvnAuthenticationNotifier extends GenericNotifierImpl<SvnAuthentica
|
||||
myRootsToWorkingCopies = myVcs.getRootsToWorkingCopies();
|
||||
myCopiesPassiveResults = Collections.synchronizedMap(new HashMap<SVNURL, Boolean>());
|
||||
// every 10 minutes
|
||||
myTimer = new Timer();
|
||||
myTimer = new Timer("SVN authentication timer");
|
||||
myTimer.schedule(new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
Reference in New Issue
Block a user