Feature - Implemented Spring cleaning: deprecated constructors

fredg1

Member
Updates a handful of constructors to use <class>.valueOf() rather than new <class>()
The constructors only become deprecated on java version 1.9, but the valueOf methods are available since 1.5, so there's no harm in updating early
 

Attachments

  • valueOf.patch
    2.2 KB · Views: 2
Top