hide CompositeRunnable to avoid confusion with existing classes

GitOrigin-RevId: 596ccf387780231097e80b25170d5db95bf50473
This commit is contained in:
Alexey Kudravtsev
2021-06-01 16:34:56 +02:00
committed by intellij-monorepo-bot
parent 8e1d9b7fc5
commit ebfb46b2e2
2 changed files with 16 additions and 20 deletions

View File

@@ -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();
}
}
}

View File

@@ -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();
}
}
}
}