Fix JavaDos and Compiler warnings
https://build.spring.io/browse/INT-B43-162
This commit is contained in:
@@ -51,7 +51,7 @@ public class SimpleMultipartFileReader implements MultipartFileReader<Object> {
|
||||
public Object readMultipartFile(MultipartFile multipartFile) throws IOException {
|
||||
if (multipartFile.getContentType() != null && multipartFile.getContentType().startsWith("text")) {
|
||||
MediaType contentType = MediaType.parseMediaType(multipartFile.getContentType());
|
||||
Charset charset = contentType.getCharSet();
|
||||
Charset charset = contentType.getCharset();
|
||||
if (charset == null) {
|
||||
charset = this.defaultCharset;
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ public class JdbcPollingChannelAdapter extends IntegrationObjectSupport implemen
|
||||
* Message payload will contain either a List of Maps for each row or, if a
|
||||
* RowMapper has been provided, the values mapped from those rows. If the
|
||||
* query returns no rows, this method will return <code>null</code>.
|
||||
* #return the {@link Message<Object>} or {@code null} as a result of query.
|
||||
* #return the {@link Message} or {@code null} as a result of query.
|
||||
*/
|
||||
public Message<Object> receive() {
|
||||
Object payload = poll();
|
||||
|
||||
Reference in New Issue
Block a user