[
https://issues.apache.org/jira/browse/ARIES-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18079503#comment-18079503
]
ASF subversion and git services commented on ARIES-2209:
--------------------------------------------------------
Commit d13e90db515b8dea366567e668aa892c22481106 in aries-rsa's branch
refs/heads/master from Amichai Rothman
[ https://gitbox.apache.org/repos/asf?p=aries-rsa.git;h=d13e90db ]
ARIES-2209 Merge ExportReferenceImpl into ExportRegistrationImpl
> Merge ExportReferenceImpl into ExportRegistrationImpl
> -----------------------------------------------------
>
> Key: ARIES-2209
> URL: https://issues.apache.org/jira/browse/ARIES-2209
> Project: Aries
> Issue Type: Bug
> Components: Remote Service Admin
> Affects Versions: rsa-1.16.1
> Reporter: Amichai Rothman
> Assignee: Amichai Rothman
> Priority: Major
>
> There is a 1:1 relationship between an ImportRegistration and its
> ImportReference, and between an ExportRegistration and its ExportReference.
> The two interfaces are basically two views of the same registration instance,
> one read-only and one modifiable.
> ImportRegistrationImpl uses a nice design where it implements both interfaces
> itself, keeping the implementation simple and self-contained.
> ExportRegistrationImpl does not use the same design, instead having two
> separate classes which is a bit more cumbersome. For consistency and
> simplicity, It should be refactored to use the same one-instance design used
> in ImportRegistrationImpl.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)