mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-06 00:25:58 +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
@@ -1628,7 +1628,7 @@ public final class FilePath implements Serializable {
|
||||
IOUtils.copy(t,f);
|
||||
f.setLastModified(te.getModTime().getTime());
|
||||
int mode = te.getMode()&0777;
|
||||
if(mode!=0 && !Hudson.isWindows()) // be defensive
|
||||
if(mode!=0 && !Functions.isWindows()) // be defensive
|
||||
try {
|
||||
LIBC.chmod(f.getPath(),mode);
|
||||
} catch (NoClassDefFoundError e) {
|
||||
|
||||
Reference in new issue
Block a user