remove unnecessary throws clauses, simplify static initializers