LIBDRUM-100. improve Java performance for groovy/fix_etd_subjects.groovy

https://issues.umd.edu/browse/LIBDRUM-100