mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Remove unnecessary cast in ContentRequestMatchers
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user