Polishing

(cherry picked from commit 59a24b4)
This commit is contained in:
Juergen Hoeller
2016-08-10 14:20:42 +02:00
parent 67f0b1986c
commit 67ba187b6f
24 changed files with 152 additions and 150 deletions

View File

@@ -940,7 +940,7 @@ public class Jaxb2Marshaller implements MimeMarshaller, MimeUnmarshaller, Generi
try {
contentId = URLEncoder.encode(contentId, "UTF-8");
}
catch (UnsupportedEncodingException e) {
catch (UnsupportedEncodingException ex) {
// ignore
}
return CID + contentId;
@@ -951,7 +951,7 @@ public class Jaxb2Marshaller implements MimeMarshaller, MimeUnmarshaller, Generi
URI uri = new URI(elementNamespace);
return uri.getHost();
}
catch (URISyntaxException e) {
catch (URISyntaxException ex) {
// ignore
}
return dataHandler.getName();
@@ -997,7 +997,7 @@ public class Jaxb2Marshaller implements MimeMarshaller, MimeUnmarshaller, Generi
try {
contentId = URLDecoder.decode(contentId, "UTF-8");
}
catch (UnsupportedEncodingException e) {
catch (UnsupportedEncodingException ex) {
// ignore
}
contentId = '<' + contentId + '>';