[mapguide-trac] #9: Java API is non-standard
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Mar 8 13:11:24 EST 2007
#9: Java API is non-standard
----------------------------------+-----------------------------------------
Reporter: jec at gatekeeper.com | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: Web API | Version:
Severity: major | Keywords:
External_id: |
----------------------------------+-----------------------------------------
The Java API generated by the SWIG toolkit does not conform to the
standards and conventions used in Java programming. The SWIG java
configuration should be changed to do the following
1. method calls should being with lowercase letters
2. methods should not call unchecked exceptions. Easiest thing to do would
be for exceptions to extend RuntimeException instead of Exception
3. collection classes should implement collection interface from java.util
4. javadoc comments with API docs embedded into the source files. Source
files distributed with installation so that developers using IDEs can
leverage full power of IDE
Note that I don't think that this can be done and still maintain backward
compatibility with existing API.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/9>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list