diff options
author | glowredman <35727266+glowredman@users.noreply.github.com> | 2023-09-23 13:06:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-23 13:06:01 +0200 |
commit | 5b5a1a8234e419ade32a0bcd31898267a84508e9 (patch) | |
tree | c5ac5ab5d97b4ee37b78fff09e9747dd5e65abac /build.gradle | |
parent | dc756ba0c56c754513ec5eecfb6aef51bc8e2ee6 (diff) | |
download | GT5-Unofficial-5b5a1a8234e419ade32a0bcd31898267a84508e9.tar.gz GT5-Unofficial-5b5a1a8234e419ade32a0bcd31898267a84508e9.tar.bz2 GT5-Unofficial-5b5a1a8234e419ade32a0bcd31898267a84508e9.zip |
Cleanup (#354)
* Fix most `@SuppressWarnings`
* Update buildscript
* Remove dead code
* Add missing `@Override` annotations
* Deobfuscate parameters
* Collapse switch statements
* Fix
* Combine nested if statements in else block to else if
* Reduce indentation when possible
* Convert to switch when reasonable
* Extract increment/decrement from statement
* Pull up assignment
* Simplify lambda expression and method reference syntax
* Deduplicate code
- Factorize operands
- Replace (X && Y) || (!X && Z) by X ? Y : Z
- Use '==' or '^' on booleans
- Merge conditions of if/else if/else that have the same blocks
- Pull down common code from if/else statement
- Single 'if' statement rather than duplicate blocks that fall through
- Remove redundant end of block with jump statement
- Remove redundant if condition
- Pull out a duplicate 'if' from an if/else
* Use pattern matching for instanceof
* Convert String concatenation to Text Block
* Convert to switch expression where possible
* Use diamond operator
* Convert to enhanced 'for' loops
* Always use 'this' qualifier
* Convert fields into local variables if the use is only local
* Use String.replace() instead of String.replaceAll() when possible
* Avoid Object.equals() or String.equalsIgnoreCase() on null objects
* Remove unnecessary casts
* Push down negation
* Remove redundant super() call in constructor
* Remove overridden assignment
* Remove redundant modifiers
* Raise embedded if into parent if
* Create array with curly brrackets when possible
* Remove variable assignment before return
* Remove unnecessary parentheses
* spotlessApply (#355)
Co-authored-by: GitHub GTNH Actions <>
* Update dependencies.gradle
* Update dependencies.gradle
* Update dependencies.gradle
* sa+deps
* add back GG mod in dep file
* Make requested changes
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Former-commit-id: 11b283613ab93b60bf0e52aad99dbcaf9ace3a1f
Diffstat (limited to 'build.gradle')
0 files changed, 0 insertions, 0 deletions