8175984: ICC_Profile has un-needed, not-empty finalize method
Reviewed-by: jdv, serb
This commit is contained in:
parent
6de547452c
commit
5e9b812938
@ -760,11 +760,6 @@ public class ICC_Profile implements Serializable {
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
protected void finalize () {
|
||||
if (cmmProfile != null) {
|
||||
CMSManager.getModule().freeProfile(cmmProfile);
|
||||
} else if (profileActivator != null) {
|
||||
ProfileDeferralMgr.unregisterDeferral(profileActivator);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user