mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 21:12:15 +00:00
class initialization of Hudson is much more work than that of Util, so pushing these small utilities out to Util to reduce the overhead of remoting.
Plus it helps to keep Hudson.java smaller git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27448 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
7089a81862
commit
2676adca52
13 files changed
+27
-23
No files matched your search
@@ -30,7 +30,6 @@ import java.util.HashMap;
|
||||
import java.util.Locale;
|
||||
import java.io.File;
|
||||
|
||||
import hudson.model.Hudson;
|
||||
import hudson.util.StreamTaskListener;
|
||||
|
||||
/**
|
||||
@@ -144,7 +143,7 @@ public class UtilTest extends TestCase {
|
||||
}
|
||||
|
||||
public void testSymlink() throws Exception {
|
||||
if (Hudson.isWindows()) return;
|
||||
if (Functions.isWindows()) return;
|
||||
|
||||
StreamTaskListener l = new StreamTaskListener(System.out);
|
||||
File d = Util.createTempDir();
|
||||
|
||||
Reference in new issue
Block a user