AutoRefactor icon indicating copy to clipboard operation
AutoRefactor copied to clipboard

Eclipse plugin to automatically refactor Java code bases

Results 97 AutoRefactor issues
Sort by recently updated
recently updated
newest added

Hello I'd like to wish you happy new year and congratulate you for the new refactorings integrated into Eclipse. I started playing with them and issued a few bugs at...

bug

Looks like in the night build the preference page to pre-select refactorings is gone. How to I now set "my" rules as default?

This new rule would be the equivalent of the one with increment/decrement inside expression. https://github.com/JnRouvignac/AutoRefactor/blob/master/plugin/src/main/java/org/autorefactor/jdt/internal/ui/fix/ObsoleteIncrementStatementRatherThanIncrementExpressionCleanUp.java As you may already know, Sonar raises a warning when assignement is inside an expression....

question

Happens when applying to ``` class Object{Object(){while(true){}// }} ```

bug

The input ``` this.hashFunc = key -> { //默认使用FNV1hash算法 return HashUtil.fnvHash(key.toString()); }; ``` becomes ``` this.hashFunc = key -> HashUtil.fnvHash(key.toString()); ``` @Fabrice-TIERCELIN I read your ticket about important/not important comments...

A funny one. App.java: ``` ... private static final String ALL_CUSTOMERS = "customerDao.getAllCustomers(): "; ... customerDao.add(customer); - log.info(ALL_CUSTOMERS + customerDao.getAll()); + log.info(); ``` With CustomerDao: ``` ... /** * Get...

Hello, I just found your plug-in and I'm already in love with it. Thanks for this awesome work. Would you be interested in moving parts of your plug-in to JDT...

question

- JDK9 is hiding several internal APIs, here is a list of replacements for the most commonly used APIs: - https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool - `List.of()`, `Set.of()`, `Map.of()` can provide significant memory savings...

question