mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Suppress warnings, remove unused code, etc.
This commit is contained in:
+1
-1
@@ -240,7 +240,7 @@ public class ContentRequestMatchers {
|
||||
}
|
||||
else if (expected instanceof String) {
|
||||
assertTrue("Multipart is not a String", actual instanceof String);
|
||||
assertEquals("Multipart content", expected, (String) actual);
|
||||
assertEquals("Multipart content", expected, actual);
|
||||
}
|
||||
else {
|
||||
throw new IllegalArgumentException("Unexpected multipart value: " + expected.getClass());
|
||||
|
||||
Reference in New Issue
Block a user