Re: Request for comments: Bug 6306820

2007-05-22 Thread Richard Kennard
Michael, Do you know if it makes much (or any) difference to JSP applications whether objects are created by constructor or by static factory method. Not really. A lot of the focus on JSPs has already gone from this class (since we moved it from URIBuilder to URIQueryString). It will now main

Re: Request for comments: Bug 6306820

2007-05-22 Thread Michael McMahon
Richard Kennard wrote: Alan, Thanks for your continued support. I find the 'static factory method' approach interesting, but I'm a little confused. You cite 'being able to return a subclass' as an advantage. However, you also recommend a private constructor and classes with private construct

Re: Request for comments: Bug 6306820

2007-05-22 Thread Alan Bateman
Richard Kennard wrote: Alan, Thanks for your continued support. I find the 'static factory method' approach interesting, but I'm a little confused. You cite 'being able to return a subclass' as an advantage. However, you also recommend a private constructor and classes with private construct