Hi devs,
Currently, according to https://dev.xwiki.org/xwiki/bin/view/Community/CodeStyle/JavaCodeStyle/#HImports jakarta.* imports end up in the big “<any other imports>
” section.
@MichaelHamann reminded me that we have a special location for javax.* and that it would probably make sense to do the same for its replacement, jakarta.*.
-
So, first, do you agree that we need a special location for jakarta.* imports ?
-
Where should we put it ? I can think of the following choices:
a. first
b. between java and javax
c. after javax
WDYT ?
- +1
- a. it seems strange to me to not have java.* first, so -0
b. I would expect “javax” to immediately follow “java”
c. so my +1 goes to after javax