Added a convenience method to reduce the invocation of a deprecated method.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30806 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2010-05-07 18:23:26 +00:00
1 parent 1975758166
commit 2e13eb03dd
10 files changed
+20 -11

No files matched your search

@@ -489,7 +489,7 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
* Creates {@link LocalLauncher}. Useful for launching processes.
*/
protected LocalLauncher createLocalLauncher() {
return new LocalLauncher(new StreamTaskListener(System.out));
return new LocalLauncher(StreamTaskListener.fromStdout());
}
/**