Apache9 commented on a change in pull request #673: HBASE-23093 : Avoid
Optional Anti-Pattern where possible
URL: https://github.com/apache/hbase/pull/673#discussion_r333490663
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
##########
@@ -8743,7 +8743,7 @@ public void registerChildren(ConfigurationManager
manager) {
*/
@Override
public void deregisterChildren(ConfigurationManager manager) {
- stores.values().forEach(configurationManager.get()::deregisterObserver);
+ stores.values().forEach(store ->
configurationManager.deregisterObserver(store));
Review comment:
Just use configurationManager::deregisterObserver?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services