Skip to content

Commit 6cf9e2b

Browse files
committed
add cast to fix javac warning
1 parent e76e30f commit 6cf9e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/htmlunit/junit/annotation/AnnotationUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public void redundantFfEsr2HtmlUnitNYIFfEsr() throws Exception {
232232
}
233233

234234
private void testFail(final String expectedMsg, final String methodName) throws Exception {
235-
final Method method = getClass().getMethod(methodName, null);
235+
final Method method = getClass().getMethod(methodName, (Class[]) null);
236236

237237
try {
238238
AnnotationUtils.assertAlerts(method);

0 commit comments

Comments
 (0)