aherbert commented on issue #23: Formatted source code using Apache Commons standards. URL: https://github.com/apache/commons-beanutils/pull/23#issuecomment-601756547 I think that the eclipse formatter will recurse the directory if you start at a resource folder (e.g. src/main/java). But if you start at a package in the directory tree below the top level (e.g. org.apache.commons.beautils2) then it only processes those java files in the current package. Have you looked at how the formatter treated comments. I see that you have configured it to allow formatting in javadoc comments. In my experience this is not good for compact lists: ``` /** * Test method. * * <ul> * <li>This * <li>list * </ul> */ ``` Becomes: ``` /** * Test method. * * <ul> <li>This <li>list </ul> */ ``` The javadoc will still render the same but anyone reading the source file will struggle. So I would recommend you have a scan through the code for `<li>` elements and check them. You can solve this by adding spaces: ``` /** * Test method. * * <ul> * * <li>This * * <li>list * * </ul> */ ``` becomes: ``` /** * Test method. * * <ul> * * <li>This * * <li>list * * </ul> */ ``` Basically just stripping leading whitespace. Also check what it has done in `<pre>` blocks. You can protect them to some extent using `<pre>{@code` but then the code cannot contain `}` which is hard to avoid if documenting loops and other block statements.
---------------------------------------------------------------- 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
