AbstractExceptionContextTest#testJavaSerialization: remove unnecessary SuppressWarnings annotation
This commit is contained in:
parent
05bf337fc0
commit
f0f896ee60
|
@ -180,8 +180,8 @@ public abstract class AbstractExceptionContextTest<T extends ExceptionContext &
|
|||
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