Repository: camel Updated Branches: refs/heads/master cf7ae6936 -> 50bb54048
Fixed CS errors of camel-mail Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/77331b78 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/77331b78 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/77331b78 Branch: refs/heads/master Commit: 77331b7897ddb24a8fc6b4e3da7988561c0cf29f Parents: cf7ae69 Author: Willem Jiang <[email protected]> Authored: Thu Feb 27 16:32:07 2014 +0800 Committer: Willem Jiang <[email protected]> Committed: Thu Feb 27 16:32:07 2014 +0800 ---------------------------------------------------------------------- .../apache/camel/component/mail/MailContentTypeResolverTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/77331b78/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailContentTypeResolverTest.java ---------------------------------------------------------------------- diff --git a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailContentTypeResolverTest.java b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailContentTypeResolverTest.java index 3b1a8c6..2397172 100644 --- a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailContentTypeResolverTest.java +++ b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailContentTypeResolverTest.java @@ -77,8 +77,8 @@ public class MailContentTypeResolverTest extends CamelTestSupport { // as we use a custom content type resolver the content type should then be fixed and correct // content type should match - boolean match1 = ("image/jpeg; name=logo.jpeg").equals(handler.getContentType()); - boolean match2 = ("application/octet-stream; name=logo.jpeg").equals(handler.getContentType()); + boolean match1 = "image/jpeg; name=logo.jpeg".equals(handler.getContentType()); + boolean match2 = "application/octet-stream; name=logo.jpeg".equals(handler.getContentType()); assertTrue("Should match 1 or 2", match1 || match2); producer.stop();
