From: Greg W. (JIRA) <ji...@co...> - 2006-12-12 16:18:52
|
[ http://jira.codehaus.org/browse/JETTY-198?page=comments#action_82493 ] Greg Wilkins commented on JETTY-198: ------------------------------------ Matthew, remind me why do you need the public constructor rather than using newResource method of Resource? I am concerned that If I make these constructors public then I should make URLResource constructor public.... but then what do we do if a file URL is passed to the URLResource constructor? cheers > Patch to include public constructors for FileResource > ----------------------------------------------------- > > Key: JETTY-198 > URL: http://jira.codehaus.org/browse/JETTY-198 > Project: Jetty > Issue Type: Improvement > Reporter: Matthew Purland > Attachments: JETTY-198-FileResource.patch > > Original Estimate: 5 minutes > Remaining Estimate: 5 minutes > > This patch changes the access level of the constructors for FileResource. This will allow packages using custom resources to access FileResource outside the org.mortbay.resource package. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |