Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Ruiz2012-02-21 08:11:37 -0500
committerSergey Prigogin2012-02-23 16:20:20 -0500
commit88d576787efa9fd7f64bc58dbd75bfbfc6722200 (patch)
tree515280ccd84747a99017698b3b27ecd586d38595 /codan/org.eclipse.cdt.codan.ui.cxx
parent295466d26fad2fd0baab8c04692b0ea381de4798 (diff)
downloadorg.eclipse.cdt-88d576787efa9fd7f64bc58dbd75bfbfc6722200.tar.gz
org.eclipse.cdt-88d576787efa9fd7f64bc58dbd75bfbfc6722200.tar.xz
org.eclipse.cdt-88d576787efa9fd7f64bc58dbd75bfbfc6722200.zip
Code cleanup, to make CommandLauncher testable.
Diffstat (limited to 'codan/org.eclipse.cdt.codan.ui.cxx')
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java
index 39a440e123..0bc0a79c44 100644
--- a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java
+++ b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java
@@ -18,7 +18,7 @@ import org.eclipse.cdt.codan.core.externaltool.InvocationParametersProvider;
import org.eclipse.cdt.codan.core.externaltool.SpaceDelimitedArgsSeparator;
import org.eclipse.cdt.codan.core.model.AbstractExternalToolBasedChecker;
import org.eclipse.cdt.codan.internal.ui.cxx.externaltool.CxxSupportedResourceVerifier;
-import org.eclipse.cdt.codan.ui.externaltool.CommandLauncher;
+import org.eclipse.cdt.codan.ui.externaltool.ConsolePrinterFinder;
/**
* Base class for checkers that invoke external command-line tools to perform code checking
@@ -58,7 +58,7 @@ public abstract class AbstractCxxExternalToolBasedChecker extends AbstractExtern
public AbstractCxxExternalToolBasedChecker(IInvocationParametersProvider parametersProvider,
ISupportedResourceVerifier supportedResourceVerifier, IArgsSeparator argsSeparator,
ConfigurationSettings configurationSettings) {
- super(parametersProvider, supportedResourceVerifier, argsSeparator, new CommandLauncher(),
- configurationSettings);
+ super(parametersProvider, supportedResourceVerifier, argsSeparator,
+ new ConsolePrinterFinder(), configurationSettings);
}
}

Back to the top