You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/04/21 13:10:17 UTC

[jira] Closed: (DIRSERVER-234) Changed the return type of ExprNode#printToBuffer from void to StringBuffer.

     [ https://issues.apache.org/jira/browse/DIRSERVER-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-234.
---------------------------------------


Closing all issues created in 2005 and before which are marked resolved

> Changed the return type of ExprNode#printToBuffer from void to StringBuffer.
> ----------------------------------------------------------------------------
>
>                 Key: DIRSERVER-234
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-234
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: pre-1.0
>            Reporter: Jacob S. Barrett
>         Assigned To: Alex Karasulu
>            Priority: Minor
>             Fix For: pre-1.0
>
>         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.
-
You can reply to this email to add a comment to the issue online.