Suppress false positive source code warnings in the AbstractGemFireOpertionsSessionRepositoryTests class.

This commit is contained in:
John Blum
2021-05-19 18:26:21 -07:00
parent 6012ebd316
commit 44710874bb

View File

@@ -1954,6 +1954,7 @@ public class AbstractGemFireOperationsSessionRepositoryTests {
}
@Test
@SuppressWarnings("all")
public void toSessionWithTombstoneAndSessionId() {
SessionEventHandlerCacheListenerAdapter sessionEventHandler = this.sessionRepository.newSessionEventHandler();
@@ -2678,7 +2679,6 @@ public class AbstractGemFireOperationsSessionRepositoryTests {
DataOutput mockDataOutput = mock(DataOutput.class);
@SuppressWarnings("serial")
DeltaCapableGemFireSession session = new DeltaCapableGemFireSession();
Instant lastAccessedTime = session.getLastAccessedTime().plusSeconds(1);
@@ -3145,7 +3145,6 @@ public class AbstractGemFireOperationsSessionRepositoryTests {
DataOutput mockDataOutput = mock(DataOutput.class);
@SuppressWarnings("serial")
DeltaCapableGemFireSessionAttributes sessionAttributes = spy(new DeltaCapableGemFireSessionAttributes());
doAnswer(invocation -> {
@@ -3444,6 +3443,7 @@ public class AbstractGemFireOperationsSessionRepositoryTests {
}
@Test
@SuppressWarnings("all")
public void deltaSessionAttributesHasDeltaAnytimeSetAttributeIsCalled() {
DeltaCapableGemFireSessionAttributes sessionAttributes = new DeltaCapableGemFireSessionAttributes();