You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jacob S. Barrett (JIRA)" <di...@incubator.apache.org> on 2005/06/14 17:38:48 UTC

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

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


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

Posted by "Alex Karasulu (JIRA)" <di...@incubator.apache.org>.
     [ 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


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

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Jacob S. Barrett (JIRA)" <di...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/DIRLDAP-42?page=all ]

Jacob S. Barrett updated DIRLDAP-42:
------------------------------------

    Attachment: filter-buffer.patch

Patch to change the return type of ExprNode#printToBuffer from void to StringBuffer.

> 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