You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <di...@incubator.apache.org> on 2005/06/16 08:07:48 UTC

[jira] Resolved: (DIRLDAP-42) Changed the return type of ExprNode#printToBuffer from void to StringBuffer.

     [ http://issues.apache.org/jira/browse/DIRLDAP-42?page=all ]
     
Alex Karasulu resolved DIRLDAP-42:
----------------------------------

    Resolution: Fixed

commit revision 190875:

http://svn.apache.org/viewcvs.cgi?rev=190875&view=rev

> 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
>     Assignee: 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/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira