Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328523

Summary: Overloaded setter methods violates javabeans specs
Product: [RT] Jetty Reporter: David Parks <davidparks21>
Component: buildAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: gregw, jetty-inbox
Version: unspecified   
Target Milestone: 7.1.x   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description David Parks CLA 2010-10-22 23:20:46 EDT
Build Identifier: 7.2 release

There are two setter methods for WebAppProvider.setMonitoredDir(...), this is a violation of the javabean spec, thus making this class challenging to use in frameworks that expect beans such as Spring for example.

Recommendation to deprecate these two methods and rename them to eliminate overloading and conform to the bean spec.

Reproducible: Always
Comment 1 Greg Wilkins CLA 2010-10-23 03:07:37 EDT
fixed in r2390
thanks