Opened 22 months ago
Last modified 22 months ago
#23747 new enhancement
Java import order preference — at Initial Version
| Reported by: | gaben | Owned by: | team |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | Wiki content | Version: | |
| Keywords: | Cc: |
Description
This is a long standing question of mine. What is the import order preference?
There are:
- static imports
- java.*
- javax.*
- org.openstreetmap.*
- jakarta.*
- org.apache.commons.*
- other utility classes mostly in tests
So which order do you prefer? It's a mixed bag currently.
Once we settle on something, I'd like to document it on the DevelopersGuide/StyleGuide. Reason is that, every time I create a new dev env, I forgot what was the import order setting.
Note:
See TracTickets
for help on using tickets.


