runnerw.exe moved. Mediator manager removed.
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Thu, 2 Dec 2010 15:32:21 +0000 (18:32 +0300)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Thu, 2 Dec 2010 15:32:21 +0000 (18:32 +0300)
bin/win/runnerw.exe [new file with mode: 0644]
platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java
platform/platform-impl/src/com/intellij/execution/process/RunnerMediatorManager.java [deleted file]

diff --git a/bin/win/runnerw.exe b/bin/win/runnerw.exe
new file mode 100644 (file)
index 0000000..ba3e19b
Binary files /dev/null and b/bin/win/runnerw.exe differ
index 524e16b0767aa58f269a9bd025d541015ebd05f6..567e0ab7b2178230018f01506e5c361c7c77b870 100644 (file)
@@ -87,7 +87,7 @@ public class RunnerMediator {
 
   private String getRunnerPath() {
     if (File.separatorChar == '\\') {
-      return RunnerMediatorManager.getInstance().getRunnerPath();
+      return "runnerw.exe";
     }
     else {
       throw new IllegalStateException("There is no need of runner under unix based OS");
diff --git a/platform/platform-impl/src/com/intellij/execution/process/RunnerMediatorManager.java b/platform/platform-impl/src/com/intellij/execution/process/RunnerMediatorManager.java
deleted file mode 100644 (file)
index cedf335..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright 2000-2010 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.intellij.execution.process;
-
-import com.intellij.openapi.components.ServiceManager;
-
-/**
- * @author traff
- */
-public class RunnerMediatorManager {
-  public static RunnerMediatorManager getInstance() {
-    return ServiceManager.getService(RunnerMediatorManager.class);
-  }
-
-  public String getRunnerPath() {
-    return "runnerw.exe";
-  }
-}