Browse Source

Polishing

pull/29434/head
Sam Brannen 2 years ago
parent
commit
fff999f416
  1. 1
      spring-r2dbc/src/main/java/org/springframework/r2dbc/core/DefaultDatabaseClient.java
  2. 4
      spring-web/src/main/java/org/springframework/http/codec/multipart/PartEventHttpMessageReader.java

1
spring-r2dbc/src/main/java/org/springframework/r2dbc/core/DefaultDatabaseClient.java

@ -476,7 +476,6 @@ class DefaultDatabaseClient implements DatabaseClient { @@ -476,7 +476,6 @@ class DefaultDatabaseClient implements DatabaseClient {
}
record ResultFunction(Function<Connection, Flux<Result>> function, String sql){}
}

4
spring-web/src/main/java/org/springframework/http/codec/multipart/PartEventHttpMessageReader.java

@ -87,12 +87,12 @@ public class PartEventHttpMessageReader extends LoggingCodecSupport implements H @@ -87,12 +87,12 @@ public class PartEventHttpMessageReader extends LoggingCodecSupport implements H
/**
* Set the character set used to decode headers.
* Defaults to UTF-8 as per RFC 7578.
* <p>Defaults to UTF-8 as per RFC 7578.
* @param headersCharset the charset to use for decoding headers
* @see <a href="https://tools.ietf.org/html/rfc7578#section-5.1">RFC-7578 Section 5.1</a>
*/
public void setHeadersCharset(Charset headersCharset) {
Assert.notNull(headersCharset, "HeadersCharset must not be null");
Assert.notNull(headersCharset, "Charset must not be null");
this.headersCharset = headersCharset;
}

Loading…
Cancel
Save