GeoAPI

Typo in metadata method names or annotations

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.3-M4
  • Fix Version/s: 2.3-M5, 2.3-M6
  • Component/s: metadata
  • Labels:
    None
  • Number of attachments :
    0

Description

The following typos has been reported:

  • In org.opengis.metadata.acquisition.Requirement, method getSatisifedPlans() should be getSatisfiedPlans() (mis-placed "i").
  • In org.opengis.metadata.spatial.GridSpatialRepresentation, method getAxisDimensionsProperties() should be getAxisDimensionProperties().
  • In org.opengis.metadata.citation.Contact, method getOnLineResource() should be getOnlineResource() (lower case "l"). This need to be fixed at least in the UML annotation. Whatever we fix the class name is an open question.
  • org.opengis.metadata.MetaData should be Metadata (lower case "d"). This need to be fixed at least in the UML annotation. Whatever we fix the class name is an open question.

Activity

Hide
Martin Desruisseaux added a comment -

The fix of UML and method names has been commited as of revision 1501 because they were considered bug rather than aesthetic changes. Whatever we also rename the MetaData and OnLineResource classes still an open question. This one can not be done with the usual "deprecate, then delete" cycle because the file names would be identical on Window platform.

Show
Martin Desruisseaux added a comment - The fix of UML and method names has been commited as of revision 1501 because they were considered bug rather than aesthetic changes. Whatever we also rename the MetaData and OnLineResource classes still an open question. This one can not be done with the usual "deprecate, then delete" cycle because the file names would be identical on Window platform.
Hide
Martin Desruisseaux added a comment -

Fixed the case of Metadata and OnlineResource as of revision 1516. This fix is helpful for implementations relying on reflection for handling metadata.

Show
Martin Desruisseaux added a comment - Fixed the case of Metadata and OnlineResource as of revision 1516. This fix is helpful for implementations relying on reflection for handling metadata.
Hide
Martin Desruisseaux added a comment -

The case of letters in Metadata and OnlineResource were leaved out of 2.3-M5, and have been fixed in 2.3-M6. This is helpful for implementations relying on Java reflection for handling ISO 19115 metadata.

Show
Martin Desruisseaux added a comment - The case of letters in Metadata and OnlineResource were leaved out of 2.3-M5, and have been fixed in 2.3-M6. This is helpful for implementations relying on Java reflection for handling ISO 19115 metadata.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: