Don't reset the ReportType static fields. This is pointless.

This may prevent certain problems on MCPC+.
This commit is contained in:
Kristian S. Stangeland 2013-07-31 05:21:16 +02:00
parent 988026611c
commit 6fba5cb020

View File

@ -115,7 +115,8 @@ class CleanupStaticMembers {
// Only check static non-primitive fields. We also skip strings.
if (Modifier.isStatic(field.getModifiers()) &&
!type.isPrimitive() && !type.equals(String.class)) {
!type.isPrimitive() && !type.equals(String.class) &&
!type.equals(ReportType.class)) {
try {
setFinalStatic(field, null);