Bug #2273
documentation errors - return types
100%
Subtasks
Associated revisions
Corrected signature MNReplication.getReplica; Switched CNIdentity.listSubject and getSubjectInfo to return SubjectInfo structures. Closes #2273
History
#1 Updated by Rob Nahf almost 13 years ago
- Priority changed from Normal to Urgent
- Category set to Documentation
- Assignee set to Dave Vieglais
found a few inconsistencies between java implementation and document after adding an architecture test to compare return types:
CNCore.ping() is documented to return null, but should be a date, as described in the method description (description also refers to MN implementation)
CNIdentity.getSubjectInfo() is documented to return a SubjectList, should be a SubjectInfo object. java implementation is correct (returns SubjectInfo)
MNReplication.getReplica() is documented to return null, should be an InputSteam (OctetStream)
need to resolve these before releasing libclient_java and common_java, in case the documentation is right and implementation is wrong!
#2 Updated by Rob Nahf almost 13 years ago
also change the return type of CNIdentity.listSubjects() from SubjectList to the more informative SubjectInfo()
#3 Updated by Dave Vieglais almost 13 years ago
CNCore.ping and MNCore.ping do not return a message body. The timestamp is returned in the Date header, as described in the docs.
#4 Updated by Dave Vieglais almost 13 years ago
- Status changed from New to In Progress
#5 Updated by Dave Vieglais almost 13 years ago
- Status changed from In Progress to Closed
Completed, svn revision 6759.