Apache Directory Project - [jira] Created: (DIRLDAP-42) Changed the return type of ExprNode#printToBuffer from vo

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > June 2005 > [jira] Created: (DIRLDAP-42) Changed the return type of ExprNode#printToBuffer from vo





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Created: (DIRLDAP-42) Changed the return type of ExprNode#printToBuffer from vo
Jacob S. Barrett (JIRA)

2005-06-14, 5:45 pm

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

Key: DIRLDAP-42
URL: http://issues.apache.org/jira/browse/DIRLDAP-42
Project: Directory LDAP
Type: Improvement
Components: Common
Versions: 0.9.1
Reporter: Jacob S. Barrett
Assigned to: Alex Karasulu
Priority: Minor
Attachments: filter-buffer.patch

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");

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com