ASF Bugzilla – Attachment 29758 Details for
Bug 54298
more efficient (and shorter) method calls in FTPTaskMirrorImpl.makeRemoteDir
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
secondCall.diff
secondCall.diff (text/plain), 635 bytes, created by
Adrian Nistor
on 2012-12-14 20:08:12 UTC
(
hide
)
Description:
secondCall.diff
Filename:
MIME Type:
Creator:
Adrian Nistor
Created:
2012-12-14 20:08:12 UTC
Size:
635 bytes
patch
obsolete
>Index: src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java >=================================================================== >--- src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java (revision 1421898) >+++ src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java (working copy) >@@ -1763,7 +1763,7 @@ > task.log("Creating directory: " + dir + " in " + workingDirectory); > } > } >- if (dir.indexOf("/") == 0) { >+ if (dir.startsWith("/")) { > ftp.changeWorkingDirectory("/"); > } > String subdir = "";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54298
:
29757
| 29758