From 3e1c97074ae1c8ea1c8f0d89e9b816f988dc3018 Mon Sep 17 00:00:00 2001 From: Chris Vest Date: Mon, 9 Nov 2015 14:09:08 +0100 Subject: [PATCH] Avoid raw-types in PageCacheTest.assertThrows --- .../io/src/test/java/org/neo4j/io/pagecache/PageCacheTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community/io/src/test/java/org/neo4j/io/pagecache/PageCacheTest.java b/community/io/src/test/java/org/neo4j/io/pagecache/PageCacheTest.java index 74a39c92195d..1d70bb3099fb 100644 --- a/community/io/src/test/java/org/neo4j/io/pagecache/PageCacheTest.java +++ b/community/io/src/test/java/org/neo4j/io/pagecache/PageCacheTest.java @@ -1180,7 +1180,7 @@ private void verifyExceptionOnCursorWrite( assertThrows( exceptionType, () -> testTemplate.accept( ( cursor ) -> cursor.putShort( 0, (short) 1 ) ) ); } - private void assertThrows( Class exceptionType, ThrowingAction action ) + private void assertThrows( Class exceptionType, ThrowingAction action ) { try {