Skip to content

Commit efd9305

Browse files
committed
Add @SuppressWarnings for LockRegistryLeaderInitiatorTests
1 parent 31d6d76 commit efd9305

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: spring-integration-core/src/test/java/org/springframework/integration/support/leader/LockRegistryLeaderInitiatorTests.java

+2
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ public void publishOnGranted(Object source, Context context, String role) {
159159
}
160160

161161
@Test
162+
@SuppressWarnings("rawtypes")
162163
public void competingWithLock() throws Exception {
163164
// switch used to toggle which registry obtains lock
164165
AtomicBoolean firstLocked = new AtomicBoolean(true);
@@ -220,6 +221,7 @@ public void competingWithLock() throws Exception {
220221
}
221222

222223
@Test
224+
@SuppressWarnings("rawtypes")
223225
public void testGracefulLeaderSelectorExit() throws Exception {
224226
AtomicReference<Throwable> throwableAtomicReference = new AtomicReference<>();
225227

0 commit comments

Comments
 (0)