Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328523 - Overloaded setter methods violates javabeans specs
Summary: Overloaded setter methods violates javabeans specs
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: build (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: 7.1.x   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 23:20 EDT by David Parks CLA
Modified: 2010-10-23 03:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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