Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-234

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • pre-1.0
    • pre-1.0
    • ldap
    • None

    Description

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

      Attachments

        1. filter-buffer.patch
          6 kB
          Jacob Barrett

        Activity

          People

            akarasulu Alex Karasulu
            jbarrett Jacob Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: