Browse Source

Polishing

See gh-27230
pull/27365/head
Sam Brannen 3 years ago
parent
commit
d1a00b4301
  1. 2
      spring-test/src/main/java/org/springframework/test/web/servlet/setup/ConfigurableMockMvcBuilder.java

2
spring-test/src/main/java/org/springframework/test/web/servlet/setup/ConfigurableMockMvcBuilder.java

@ -93,7 +93,7 @@ public interface ConfigurableMockMvcBuilder<B extends ConfigurableMockMvcBuilder @@ -93,7 +93,7 @@ public interface ConfigurableMockMvcBuilder<B extends ConfigurableMockMvcBuilder
* @since 5.3.10
*/
default <T extends B> T defaultResponseCharacterEncoding(Charset defaultResponseCharacterEncoding) {
throw new UnsupportedOperationException();
throw new UnsupportedOperationException("defaultResponseCharacterEncoding is not supported by this MockMvcBuilder");
}
/**

Loading…
Cancel
Save