Skip to content

Commit 00f751d

Browse files
author
Vladimir Kotal
committed
parametrize the class to silence the unchecked warning
1 parent 2a62395 commit 00f751d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/authorization/AuthorizationPluginClassLoaderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public void testTruePlugin() {
188188
}
189189

190190
@SuppressWarnings("rawtypes")
191-
private IAuthorizationPlugin getNewInstance(Class c) {
191+
private IAuthorizationPlugin getNewInstance(Class<?> c) {
192192
IAuthorizationPlugin plugin = null;
193193
try {
194194
plugin = (IAuthorizationPlugin) c.getDeclaredConstructor().newInstance();

0 commit comments

Comments
 (0)