mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
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:
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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user