kagemomiji / airsonic-advanced

airsonic-advanced
GNU General Public License v3.0
143 stars 13 forks source link

Apply lombok to DTO class for refactoring #69

Open kagemomiji opened 1 year ago

kagemomiji commented 1 year ago

The current DTO for the airsonic-advanced class implements getter/setter/constructor in code.

Use lombok and omit implementation of getter/setter/construcotr

kagemomiji commented 1 year ago

Change the milestone due to insufficient testing and various other refactoring needs.

winfr34k commented 1 year ago

I don't want this to sound like a "rewrite in X", but I think adding Kotlin to the project would be more worthwhile than Lombok at almost the same weight.

Kotlin allows for gradual modernization of Java projects (all Kotlin classes are available from Java) and offers similar functionality via Data Classes and a whole lot more.