beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Feit (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Resolved: (BEEHIVE-838) Add a toString(boolean) method to support optional cleanup of unknown tokens in URLTemplate class.
Date Fri, 01 Jul 2005 22:11:58 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-838?page=all ]
     
Rich Feit resolved BEEHIVE-838:
-------------------------------

    Resolution: Fixed
     Assign To: Carlin Rogers  (was: Rich Feit)

Hey Carlin, I submitted this change with revision 208805, but how would you feel about having
this be called something *other* than toString()?  It seems strange to have an overloaded
toString() that takes an argument.  Just my gut reaction... what do you think?

> Add a toString(boolean) method to support optional cleanup of unknown tokens in URLTemplate
class.
> --------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-838
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-838
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1
>  Environment: All
>     Reporter: Subbu Allamaraju
>     Assignee: Carlin Rogers
>      Fix For: V1
>  Attachments: j838-patch.txt
>
> The toString() method in URLTemplate supposedly (I've not tested yet) removes unknown
tokens. We have some use cases where URLs are prepared in multiple passes with each pass filling
some tokens only known at that pass. In between these passes, URLs are passed as strings and
not as URLTemplate objects, and hence we need to way to tell URLTemplate to not cleanup unknown
tokens.
> A method like toString(boolean unsetTokens) would solve our use case.

-- 
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