Browse Source

Fix test dependency

pull/652/head
Rossen Stoyanchev 11 years ago
parent
commit
2a64834a44
  1. 1
      build.gradle
  2. 2
      spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java

1
build.gradle

@ -691,6 +691,7 @@ project("spring-web") { @@ -691,6 +691,7 @@ project("spring-web") {
testCompile("org.apache.taglibs:taglibs-standard-jstlel:1.2.1") {
exclude group: "org.apache.taglibs", module: "taglibs-standard-spec"
}
testRuntime("com.sun.mail:javax.mail:1.5.2")
}
// pick up ContextLoader.properties in src/main

2
spring-web/src/main/java/org/springframework/http/converter/FormHttpMessageConverter.java

@ -125,7 +125,7 @@ public class FormHttpMessageConverter implements HttpMessageConverter<MultiValue @@ -125,7 +125,7 @@ public class FormHttpMessageConverter implements HttpMessageConverter<MultiValue
/**
* Set the character set to use when writing multipart data to encode file
* names. Encoding is based on the encoded-word syntax defined in RFC 2047
* and relies on the MimeUtility class from "javax.mail-api".
* and relies on {@code MimeUtility} from "javax.mail".
* <p>If not set file names will be encoded as US-ASCII.
* @param multipartCharset the charset to use
* @see <a href="http://en.wikipedia.org/wiki/MIME#Encoded-Word">Encoded-Word</a>

Loading…
Cancel
Save