directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob S. Barrett (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Created: (DIRLDAP-42) Changed the return type of ExprNode#printToBuffer from void to StringBuffer.
Date Tue, 14 Jun 2005 15:38:48 GMT
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/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message