Issue Details (XML | Word | Printable)

Key: DIRSERVER-234
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Alex Karasulu
Reporter: Jacob S. Barrett
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Changed the return type of ExprNode#printToBuffer from void to StringBuffer.

Created: 15/Jun/05 12:33 AM   Updated: 21/Apr/07 11:09 AM
Return to search
Component/s: ldap
Affects Version/s: pre-1.0
Fix Version/s: pre-1.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works filter-buffer.patch 2005-06-15 12:33 AM Jacob S. Barrett 6 kB

Resolution Date: 16/Jun/05 03:02 PM


 Description  « Hide
The attached patch changes then return type of ExprNode#printToBuffer from void to StringBuffer. I did this so that expr.printToBuffer could be used inline with other StringBuffer operations, like all the other StringBuffer methods.

Example:

StringBuffer buffer = expr.printToBuffer(new StringBuffer("The filter is: ")).append(", some other text");

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jacob S. Barrett made changes - 15/Jun/05 12:33 AM
Field Original Value New Value
Attachment filter-buffer.patch [ 12310736 ]
Alex Karasulu made changes - 16/Jun/05 03:02 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Alex Karasulu made changes - 07/Feb/06 02:41 PM
Project Directory LDAP [ 10514 ] ApacheDS [ 12310260 ]
Affects Version/s pre-1.0 [ 12310782 ]
Fix Version/s pre-1.0 [ 12310782 ]
Affects Version/s 0.9.1 [ 11126 ]
Type Improvement [ 4 ] Bug [ 1 ]
Component/s ldap [ 12310715 ]
Key DIRLDAP-42 DIRSERVER-234
Component/s Common [ 11085 ]
Emmanuel Lecharny made changes - 21/Apr/07 11:09 AM
Status Resolved [ 5 ] Closed [ 6 ]