docs: public static void appendToBuffer( final StringBuffer    buffer,
                                         final String          string,
                                         final String          delimiter )
      {
          if ( string == null )
          {
              return;
          }
  
          //
          // Only append the delimiter in front if the buffer isn't empty.
          //
          if ( buffer.length() == 0 || delimiter == null )
          {
              buffer.append( string );
          }
          else
          {
              buffer.append( delimiter ).append( string );
          }
      }