No need for volatile.
@@ -29,7 +29,7 @@ import javax.inject.Inject;
*/
@ApplicationScoped
public class ArtifactTypeUtilProviderImpl implements ArtifactTypeUtilProviderFactory {
- private volatile Map<ArtifactType, ArtifactTypeUtilProvider> map = new ConcurrentHashMap<>();
+ private Map<ArtifactType, ArtifactTypeUtilProvider> map = new ConcurrentHashMap<>();
@Inject
Instance<ArtifactTypeUtilProvider> providers;
