We're updating the issue view to help you get more done. 

Remove J2eeDescriptor.getVendorDescriptor()

Description

Current API is:

1 2 3 4 5 6 7 8 9 10 11 12 13 /** * Returns all vendor descriptors associated with this J2EE deployment descriptor. * * @return Iterator containing Descriptor objects */ Iterator getVendorDescriptors(); /** * Returns the first registered vendor descriptor. * * @return The first Descriptor or null if there is none */ Descriptor getVendorDescriptor();

Remove the getVendorDescriptor() API as it's never good to have duplicate ways of doing things in APIs and it's possible to call the following to get the same result:

1 (Descriptor) (j2eeDescriptor.getVendorDescriptors().next());

Status

Assignee

Vincent Massol

Reporter

Vincent Massol

Components

Fix versions

Affects versions

0.8

Priority

Major