[hibernate-issues] [JIRA] (HHH-12904) Removing some dead code in InFlightMetadataCollectorImpl and MetadataImpl