Skip to content

Commit 85c0cc4

Browse files
committed
change list for set
1 parent c248cae commit 85c0cc4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dd-java-agent/agent-iast/src/main/java/com/datadog/iast/sink/ApplicationModuleImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ public class ApplicationModuleImpl extends SinkModuleBase implements Application
7171
static final String JETTY_JNDI_APP = "Test JNDI WebApp";
7272
static final String JETTY_SPEC_APP = "Test Annotations WebApp";
7373
static final String JETTY_TEST_APP = "Test WebApp";
74-
public static final Set ADMIN_CONSOLE_LIST =
75-
new HashSet(Arrays.asList(TOMCAT_MANAGER_APP, TOMCAT_HOST_MANAGER_APP));
76-
public static final Set DEFAULT_APP_LIST =
77-
new HashSet(
74+
public static final Set<String> ADMIN_CONSOLE_LIST =
75+
new HashSet<>(Arrays.asList(TOMCAT_MANAGER_APP, TOMCAT_HOST_MANAGER_APP));
76+
public static final Set<String> DEFAULT_APP_LIST =
77+
new HashSet<>(
7878
Arrays.asList(
7979
TOMCAT_SAMPLES_APP,
8080
JETTY_ASYNC_REST_APP,

0 commit comments

Comments
 (0)