xds: Remove unnecessary "unchecked" warning suppression.

This commit is contained in:
Terry Wilson 2022-03-02 14:14:52 -08:00 committed by Terry Wilson
parent b670131b55
commit 2c9534d44f
1 changed files with 0 additions and 1 deletions

View File

@ -82,7 +82,6 @@ final class XdsTestControlPlaneService extends
public <T extends Message> void setXdsConfig(final String type, final Map<String, T> resources) { public <T extends Message> void setXdsConfig(final String type, final Map<String, T> resources) {
logger.log(Level.FINE, "setting config {0} {1}", new Object[]{type, resources}); logger.log(Level.FINE, "setting config {0} {1}", new Object[]{type, resources});
syncContext.execute(new Runnable() { syncContext.execute(new Runnable() {
@SuppressWarnings("unchecked")
@Override @Override
public void run() { public void run() {
HashMap<String, Message> copyResources = new HashMap<>(resources); HashMap<String, Message> copyResources = new HashMap<>(resources);