Opened 18 years ago
Last modified 12 years ago
#9 closed enhancement
Java API is non-standard — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | medium | Milestone: | 2.5 |
Component: | Web API | Version: | |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
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
- method calls should being with lowercase letters
- methods should not call unchecked exceptions. Easiest thing to do would be for exceptions to extend RuntimeException instead of Exception
- collection classes should implement collection interface from java.util
- 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.
Note:
See TracTickets
for help on using tickets.