Apache9 commented on code in PR #5651:
URL: https://github.com/apache/hbase/pull/5651#discussion_r1466424536
##########
hbase-http/src/main/java/org/apache/hadoop/hbase/http/ServletConfig.java:
##########
@@ -23,14 +23,20 @@
@InterfaceAudience.Private
class ServletConfig {
- private String name;
- private String pathSpec;
- private String clazz;
+ private final String name;
+ private final String pathSpec;
+ private final String clazz;
+ private final boolean expected;
public ServletConfig(String name, String pathSpec, String clazz) {
+ this(name, pathSpec, clazz, true);
Review Comment:
The default expected is true? Then how could this reduce the noisy log
messages?
--
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]