-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code cleanup #3064
Code cleanup #3064
Conversation
This PR already did some good, it resulted in a bug report for IntelliJ. Edit: Fix is included in Build 232.2162. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the spring clean!
I have a few comments and questions.
key.core/src/main/java/de/uka/ilkd/key/rule/AuxiliaryContractBuilders.java
Show resolved
Hide resolved
...core/src/main/java/de/uka/ilkd/key/control/instantiation_model/TacletInstantiationModel.java
Show resolved
Hide resolved
key.core/src/main/java/de/uka/ilkd/key/proof/io/ProofSaver.java
Outdated
Show resolved
Hide resolved
...e/src/test/java/de/uka/ilkd/key/proof/runallproofs/proofcollection/ForkedTestFileRunner.java
Show resolved
Hide resolved
...olic_execution/src/main/java/de/uka/ilkd/key/symbolic_execution/AbstractUpdateExtractor.java
Show resolved
Hide resolved
Apparently, this PR reshuffles many import statements and puts |
Depends on the formatter. It seems that the eclipse formatter (that we currently use) can only reorder the imports. |
I didn't find any option that orders the imports? |
I am not sure, whether this is a question or a statement. There seems no documentation on the Eclipse formatting settings (XML) and I am to lazy to install Eclipse to modify them. |
That was a question, I checked the file that loads the configuration and didn't find anything the like. |
You can find some traces but in the end, the simplest thing is to configure the import via the eclipse GUI, and export an XML file. |
* brackets for single statement blocks * final fields * default modifiers (for enums, interface functions) * C Style Arrays
…es leading to casts, bugs
Since there is a (partial?) solution to the import problem, this should be cleared after a merge with main. |
This MR does some automated code cleanup.
Lots of changes, I grouped the changes in commits and the review should happen on a per commit basis.
Some of them might be debateable, please do so.
However, I think most of them really help with parsing of and reasoning about the code.