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 added a comment - 15/Jun/05 12:33 AM
Patch to change the return type of ExprNode#printToBuffer from void to StringBuffer.

Alex Karasulu added a comment - 16/Jun/05 03:02 PM

Emmanuel Lecharny added a comment - 21/Apr/07 11:09 AM
Closing all issues created in 2005 and before which are marked resolved