AbstractExceptionContextTest#testJavaSerialization: remove unnecessary SuppressWarnings annotation
This commit is contained in:
parent
05bf337fc0
commit
f0f896ee60
|
@ -179,9 +179,9 @@ public abstract class AbstractExceptionContextTest<T extends ExceptionContext &
|
|||
@Test
|
||||
public void testJavaSerialization() {
|
||||
exceptionContext.setContextValue("test Poorly written obj", "serializable replacement");
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
final T clone = SerializationUtils.deserialize(SerializationUtils.serialize(exceptionContext));
|
||||
|
||||
assertEquals(exceptionContext.getFormattedExceptionMessage(null), clone.getFormattedExceptionMessage(null));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue