amichair commented on code in PR #140:
URL: https://github.com/apache/aries-rsa/pull/140#discussion_r3375479213
##########
rsa/src/main/java/org/apache/aries/rsa/core/RemoteServiceAdminCore.java:
##########
@@ -504,23 +504,22 @@ protected void
removeExportRegistration(ExportRegistration eri) {
}
protected void removeImportRegistration(ImportRegistration iri) {
- synchronized (importedServices) {
- LOG.debug("Removing importRegistration {}", iri);
-
- ImportReference importRef = iri.getException() != null ? null :
iri.getImportReference();
- if (importRef == null) {
- return;
+ LOG.debug("Removing importRegistration {}", iri);
+ ImportReference importRef = iri.getException() != null ? null :
iri.getImportReference();
Review Comment:
Standardized the naming in a separate commit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]