[ https://issues.apache.org/jira/browse/AIRAVATA-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437016#comment-13437016 ]
Heshan Suriyaarachchi commented on AIRAVATA-541: ------------------------------------------------ Saminda, if we think of going ahead like that, all the getter methods for the descriptors should reflect the same behavior. I noticed this during implementing the XRegistryMigrator. > Some code is duplicated in AiravataJCRregistry > ---------------------------------------------- > > Key: AIRAVATA-541 > URL: https://issues.apache.org/jira/browse/AIRAVATA-541 > Project: Airavata > Issue Type: Improvement > Components: Registry API > Environment: ubuntu 11.10 > Reporter: Bhathiya Jayasekara > Assignee: Bhathiya Jayasekara > Priority: Trivial > Labels: Refactoring > Attachments: refactored.patch > > > Both of following methods have the same method body. > 1) public ServiceDescription getServiceDesc(String serviceId) throws > ServiceDescriptionRetrieveException > 2) public ServiceDescription getServiceDescription(String serviceId) throws > ServiceDescriptionRetrieveException -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira