apurtell commented on code in PR #4628:
URL: https://github.com/apache/hbase/pull/4628#discussion_r923919553
##########
pom.xml:
##########
@@ -2715,6 +2715,27 @@
<!-- spotless manve plugin does not allow empty here, so use \n
-->
<replacement>\n</replacement>
</replaceRegex>
+ <!--
+ e.g., rewrite
+ /** @return blabla */
+ or
+ /**
+ * @return blabla
+ */
+ to
+ /** Returns blabla */
+ See https://errorprone.info/bugpattern/FutureReturnValueIgnored
+ -->
+ <replaceRegex>
+ <name>Purge single returns tag multi line</name>
+ <searchRegex>(?m)^ */\*\*\n *\* *@return *(.*) *\n
*\*/$</searchRegex>
+ <replacement>/** Returns $1 */</replacement>
+ </replaceRegex>
+ <replaceRegex>
+ <name>Purge single returns tag single line</name>
+ <searchRegex>^ */\*\* *@return *(.*) *\*/$</searchRegex>
+ <replacement>/** Returns $1 */</replacement>
+ </replaceRegex>
<!-- apply a specific flavor -->
Review Comment:
Waiting for this question to be resolved before merging. I merged a PR that
causes a conflict in FavoredNodesPlan. Happy to fix it up during the merge.
--
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]