Commit Graph
4 Commits
Author SHA1 Message Date
Firenoo 67282e82b9 Update bs 2023-08-06 13:28:22 -07:00
chill d147681c26 Refactoring (#30)
* update buildscript

* address gradle warning about insecure connection

* simplify bit shift

* nested enums are implicitly static

See https://stackoverflow.com/questions/663834/in-java-are-enum-types-inside-a-class-static

* enum constructors are private by design

See https://stackoverflow.com/questions/36286178/java-enum-constructors-private

* semicolon not needed

* replace anonymous class with standard init

The anonymous init takes more space and is harder to understand.

* improve javadoc

* remove duplicate case in switch

* improve javadoc

* simplify float

* simplify init

* remove redundant casts

* minor nitpick on a comment

* rename BACKGROUND to lowercase

* put on separate lines

* remove reduntant semicolons

* simplify isEmpty

* remove commented code, improve javadocs

* spotless

* gradle update buildscript

* explain why >> 0 stays

* Revert "remove redundant casts"

This reverts commit e7bf60e1d2.

* suppress the inspection for redundant casts

They are kept to clarify what the functions accepts.

* spotless vs intellij

Our battle will be legendary!
2023-05-20 18:55:27 +02:00
Jason Mitchell 274f51356c [ci skip] Update buildscript to RetroFuturaGradle 2023-01-28 20:05:31 -08:00
GlodBlock c6fb85c7f4 init 2022-01-30 14:36:19 +08:00