Details

    • Type: Improvement
    • Status: Closed (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 0.8
    • Fix versions: 0.9
    • Components: Module API
    • Labels:
      None

      Description

      Current API is:

      /**
      * 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:

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

        Attachments

          Activity

            People

            • Assignee:
              vincentmassol Vincent Massol (Inactive)
              Reporter:
              vincentmassol Vincent Massol (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: