Skip to content

Commit

Permalink
Suppress unchecked cast warning in DefaultConfigurationStore (apache#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
takidau authored and sfc-gh-mcollado committed Jul 30, 2024
1 parent 5685fcb commit abaf2a9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public DefaultConfigurationStore(Map<String, Object> properties) {
this.properties = properties;
}

@SuppressWarnings("unchecked")
@Override
public <T> @Nullable T getConfiguration(PolarisCallContext ctx, String configName) {
return (T) properties.get(configName);
Expand Down

0 comments on commit abaf2a9

Please sign in to comment.