ASF Bugzilla – Attachment 22665 Details for
Bug 45931
trimSpaces incorrectly modifies output
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
replace whitespace with single space
TextOptimizer.java.patch (text/plain), 308 bytes, created by
Meetesh Karia
on 2008-10-01 12:43:22 UTC
(
hide
)
Description:
replace whitespace with single space
Filename:
MIME Type:
Creator:
Meetesh Karia
Created:
2008-10-01 12:43:22 UTC
Size:
308 bytes
patch
obsolete
>36a37 >> private final String singleSpace = new String(" "); >77c78,82 >< n.setText(emptyText); >--- >> if (n.getText().length() > 0) { >> n.setText(singleSpace); >> } else { >> n.setText(emptyText); >> }
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 45931
:
22665
|
22843