Apache9 commented on a change in pull request #2494:
URL: https://github.com/apache/hbase/pull/2494#discussion_r499157062
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ReopenTableRegionsProcedure.java
##########
@@ -57,7 +58,7 @@
// Specify specific regions of a table to reopen.
// if specified null, all regions of the table will be reopened.
- private final List<byte[]> regionNames;
+ private List<byte[]> regionNames;
Review comment:
Then just use Collections.emptyList here to avoid null check since null
and emptyList does not make any difference?
----------------------------------------------------------------
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]