Prabhu Joseph (JIRA)
2018-12-09 04:28:00 UTC
Prabhu Joseph created HADOOP-15989:
--------------------------------------
Summary: Synchronized at CompositeService#removeService is not required
Key: HADOOP-15989
URL: https://issues.apache.org/jira/browse/HADOOP-15989
Project: Hadoop Common
Issue Type: Bug
Components: common
Affects Versions: 2.7.3
Reporter: Prabhu Joseph
Assignee: Prabhu Joseph
Synchronization at CompositeService#removeService method level is not required.
{code}
protected *{color:red}synchronized{color}* boolean removeService(Service service) {
synchronized (serviceList) {
return serviceList.remove(service);
}
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-***@hadoop.apache.org
For additional commands, e-mail: common-dev-***@hadoop.apache.org
--------------------------------------
Summary: Synchronized at CompositeService#removeService is not required
Key: HADOOP-15989
URL: https://issues.apache.org/jira/browse/HADOOP-15989
Project: Hadoop Common
Issue Type: Bug
Components: common
Affects Versions: 2.7.3
Reporter: Prabhu Joseph
Assignee: Prabhu Joseph
Synchronization at CompositeService#removeService method level is not required.
{code}
protected *{color:red}synchronized{color}* boolean removeService(Service service) {
synchronized (serviceList) {
return serviceList.remove(service);
}
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-***@hadoop.apache.org
For additional commands, e-mail: common-dev-***@hadoop.apache.org