keith-turner commented on a change in pull request #2109:
URL: https://github.com/apache/accumulo/pull/2109#discussion_r632117210
##########
File path: core/src/main/java/org/apache/accumulo/core/conf/Property.java
##########
@@ -458,8 +458,8 @@
"The maximum number of files a compaction will open"),
TSERV_COMPACTION_SERVICE_META_EXECUTORS(
"tserver.compaction.major.service.meta.planner.opts.executors",
- "[{'name':'small','maxSize':'32M','numThreads':2},"
- + "{'name':'huge','numThreads':2}]".replaceAll("'", "\""),
+ ("[{'name':'small','maxSize':'32M','numThreads':2}," +
"{'name':'huge','numThreads':2}]")
Review comment:
If the string fits on a single line could remove the concatenation.
Leaving the parens in case there is a bug w/ the formatter as you mentioned.
```suggestion
("[{'name':'small','maxSize':'32M','numThreads':2},{'name':'huge','numThreads':2}]")
```
--
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]