If a entity (or any .java) is modified by Spring Roo and this file has an import static definition, the static modifier is lost when file is rewritten.
To test it:
- create a new project using _clinic.roo: scrip
- Edit Vet.java and add this import declaration:
- Use Roo field command to add a field to entity:
- After Roo changes Vet.java, the previous import declaration will be this: