Remove unnecessary cast in ContentRequestMatchers
This commit is contained in:
parent
8f96ca4a2d
commit
b808b53bcc
|
@ -240,7 +240,7 @@ public class ContentRequestMatchers {
|
|||
}
|
||||
if (expected instanceof byte[]) {
|
||||
assertTrue("Multipart is not a file", actual instanceof byte[]);
|
||||
assertEquals("Multipart content", expected, (byte[]) actual);
|
||||
assertEquals("Multipart content", expected, actual);
|
||||
}
|
||||
else if (expected instanceof String) {
|
||||
assertTrue("Multipart is not a String", actual instanceof String);
|
||||
|
|
Loading…
Reference in New Issue