Skip to content
Permalink
Browse files
[CXF-5383] Remove extra ; that shouldn't be there.
git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1543518 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Nov 19, 2013
1 parent 31c0053 commit 106b942d2ca4b8a4a95dc34c3d447fe5afb548ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -163,7 +163,7 @@ public void writeProlog() throws IOException {
.append(encoding)
.append("; type=\"")
.append(bodyCt)
.append("\";");
.append("\"");
} else {
mimeBodyCt.append(bodyType);
}
@@ -102,10 +102,10 @@ private void doTestMessageWrite(boolean xop) throws Exception {

MimeBodyPart part = (MimeBodyPart) multipart.getBodyPart(0);
if (xop) {
assertEquals("application/xop+xml; charset=UTF-8; type=\"application/soap+xml\";",
assertEquals("application/xop+xml; charset=UTF-8; type=\"application/soap+xml\"",
part.getHeader("Content-Type")[0]);
} else {
assertEquals("text/xml; charset=UTF-8; type=\"application/soap+xml\";",
assertEquals("text/xml; charset=UTF-8; type=\"application/soap+xml\"",
part.getHeader("Content-Type")[0]);
}

@@ -173,7 +173,7 @@ public void testMessageMTOM() throws Exception {
MimeMultipart multipart = (MimeMultipart) inMsg.getContent();

MimeBodyPart part = (MimeBodyPart) multipart.getBodyPart(0);
assertEquals("application/xop+xml; charset=UTF-8; type=\"application/soap+xml\";",
assertEquals("application/xop+xml; charset=UTF-8; type=\"application/soap+xml\"",
part.getHeader("Content-Type")[0]);
assertEquals("binary", part.getHeader("Content-Transfer-Encoding")[0]);
assertEquals("<root.message@cxf.apache.org>", part.getHeader("Content-ID")[0]);

0 comments on commit 106b942

Please sign in to comment.