Archiviert
13
0

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

This may prevent certain problems on MCPC+.
Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-07-31 05:21:16 +02:00
Ursprung 988026611c
Commit 6fba5cb020

Datei anzeigen

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