diff --git a/network-store-model/src/main/java/com/powsybl/network/store/model/ExtensionLoaders.java b/network-store-model/src/main/java/com/powsybl/network/store/model/ExtensionLoaders.java index 0cffa4adc..99b04866b 100644 --- a/network-store-model/src/main/java/com/powsybl/network/store/model/ExtensionLoaders.java +++ b/network-store-model/src/main/java/com/powsybl/network/store/model/ExtensionLoaders.java @@ -18,6 +18,9 @@ /** * @author Antoine Bouhours */ +//Don't bother with generics because serviceloader doesn't return them +//and we put them in a cache where we can't propagate the generic types. +@SuppressWarnings("rawtypes") public final class ExtensionLoaders { private static final Logger LOGGER = LoggerFactory.getLogger(ExtensionLoaders.class);