ASF Bugzilla – Attachment 29767 Details for
Bug 54305
more efficient method call in FileUtils.isContextRelativePath
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch.diff (text/plain), 613 bytes, created by
Adrian Nistor
on 2012-12-14 23:35:07 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Adrian Nistor
Created:
2012-12-14 23:35:07 UTC
Size:
613 bytes
patch
obsolete
>Index: src/main/org/apache/tools/ant/util/FileUtils.java >=================================================================== >--- src/main/org/apache/tools/ant/util/FileUtils.java (revision 1421898) >+++ src/main/org/apache/tools/ant/util/FileUtils.java (working copy) >@@ -637,7 +637,7 @@ > int len = filename.length(); > return (c == sep && (len == 1 || filename.charAt(1) != sep)) > || (Character.isLetter(c) && len > 1 >- && filename.indexOf(':') == 1 >+ && filename.charAt(1) == ':' > && (len == 2 || filename.charAt(2) != sep)); > } >
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 54305
: 29767