Skip to content

Commit

Permalink
Suppress warnings for generic types in extension loaders because serv…
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinebhs committed Sep 23, 2024
1 parent ddfd794 commit 5448047
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
/**
* @author Antoine Bouhours <antoine.bouhours at rte-france.com>
*/
//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);
Expand Down

0 comments on commit 5448047

Please sign in to comment.