use EnumMap instead of HashMap for ContributionTypes

1 job for fix-sonarlint-issues in 0 seconds (queued for 8 seconds)