mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
hide CompositeRunnable to avoid confusion with existing classes
GitOrigin-RevId: 596ccf387780231097e80b25170d5db95bf50473
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8e1d9b7fc5
commit
ebfb46b2e2
@@ -1,19 +0,0 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package org.jetbrains.idea.svn.config;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class CompositeRunnable implements Runnable {
|
||||
private final Runnable[] myRunnables;
|
||||
|
||||
public CompositeRunnable(Runnable @NotNull ... runnables) {
|
||||
myRunnables = runnables;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
for (Runnable runnable : myRunnables) {
|
||||
runnable.run();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,7 @@ import static org.jetbrains.idea.svn.SvnBundle.message;
|
||||
public class SvnConfigureProxiesComponent extends MasterDetailsComponent {
|
||||
private final ServersFileManager myManager;
|
||||
|
||||
private final CompositeRunnable myTreeUpdaterValidator;
|
||||
private final Runnable myTreeUpdaterValidator;
|
||||
private final Runnable myValidator;
|
||||
private JComponent myComponent;
|
||||
private final TestConnectionPerformer myTestConnectionPerformer;
|
||||
@@ -299,4 +299,19 @@ public class SvnConfigureProxiesComponent extends MasterDetailsComponent {
|
||||
groupConfigurable.setIsValid(valid);
|
||||
}
|
||||
}
|
||||
|
||||
private static class CompositeRunnable implements Runnable {
|
||||
private final Runnable[] myRunnables;
|
||||
|
||||
CompositeRunnable(Runnable @NotNull ... runnables) {
|
||||
myRunnables = runnables;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
for (Runnable runnable : myRunnables) {
|
||||
runnable.run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user