Repository: camel Updated Branches: refs/heads/master bdcc16fc5 -> 6db0f8780
CAMEL-7466 Fixed the CS errors Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6db0f878 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6db0f878 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6db0f878 Branch: refs/heads/master Commit: 6db0f87803f9839e2cdf2e871abb366f61d2d6eb Parents: 5e52a08 Author: Willem Jiang <willem.ji...@gmail.com> Authored: Tue May 27 15:01:53 2014 +0800 Committer: Willem Jiang <willem.ji...@gmail.com> Committed: Tue May 27 15:02:15 2014 +0800 ---------------------------------------------------------------------- .../apache/camel/model/dataformat/FlatpackDataFormat.java | 6 +++++- .../camel/component/flatpack/DelimitedAllowLongTest.java | 8 ++++++-- .../component/flatpack/DelimitedAllowShortAndLongTest.java | 7 +++++-- .../camel/component/flatpack/DelimitedAllowShortTest.java | 7 +++++-- .../camel/component/flatpack/FixedLengthAllowLongTest.java | 8 +++++--- .../component/flatpack/FixedLengthAllowShortAndLongTest.java | 7 +++++-- .../camel/component/flatpack/FixedLengthAllowShortTest.java | 8 +++++--- 7 files changed, 36 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/6db0f878/camel-core/src/main/java/org/apache/camel/model/dataformat/FlatpackDataFormat.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/model/dataformat/FlatpackDataFormat.java b/camel-core/src/main/java/org/apache/camel/model/dataformat/FlatpackDataFormat.java index f323349..e0d4d5b 100644 --- a/camel-core/src/main/java/org/apache/camel/model/dataformat/FlatpackDataFormat.java +++ b/camel-core/src/main/java/org/apache/camel/model/dataformat/FlatpackDataFormat.java @@ -16,7 +16,11 @@ */ package org.apache.camel.model.dataformat; -import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; + import org.apache.camel.CamelContext; import org.apache.camel.model.DataFormatDefinition; import org.apache.camel.spi.DataFormat; http://git-wip-us.apache.org/repos/asf/camel/blob/6db0f878/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowLongTest.java ---------------------------------------------------------------------- diff --git a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowLongTest.java b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowLongTest.java index 85f680b..5f7d712 100644 --- a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowLongTest.java +++ b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowLongTest.java @@ -17,7 +17,9 @@ package org.apache.camel.component.flatpack; -import java.util.*; +import java.util.List; +import java.util.Map; + import org.apache.camel.EndpointInject; import org.apache.camel.Exchange; import org.apache.camel.Message; @@ -29,7 +31,9 @@ import org.slf4j.LoggerFactory; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + @ContextConfiguration public class DelimitedAllowLongTest extends AbstractJUnit4SpringContextTests { http://git-wip-us.apache.org/repos/asf/camel/blob/6db0f878/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortAndLongTest.java ---------------------------------------------------------------------- diff --git a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortAndLongTest.java b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortAndLongTest.java index 7dacf23..20bae78 100644 --- a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortAndLongTest.java +++ b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortAndLongTest.java @@ -17,7 +17,9 @@ package org.apache.camel.component.flatpack; -import java.util.*; +import java.util.List; +import java.util.Map; + import org.apache.camel.EndpointInject; import org.apache.camel.Exchange; import org.apache.camel.Message; @@ -29,7 +31,8 @@ import org.slf4j.LoggerFactory; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; @ContextConfiguration public class DelimitedAllowShortAndLongTest extends AbstractJUnit4SpringContextTests { http://git-wip-us.apache.org/repos/asf/camel/blob/6db0f878/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortTest.java ---------------------------------------------------------------------- diff --git a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortTest.java b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortTest.java index 7334440..ec208f1 100644 --- a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortTest.java +++ b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/DelimitedAllowShortTest.java @@ -17,7 +17,9 @@ package org.apache.camel.component.flatpack; -import java.util.*; +import java.util.List; +import java.util.Map; + import org.apache.camel.EndpointInject; import org.apache.camel.Exchange; import org.apache.camel.Message; @@ -29,7 +31,8 @@ import org.slf4j.LoggerFactory; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; @ContextConfiguration public class DelimitedAllowShortTest extends AbstractJUnit4SpringContextTests { http://git-wip-us.apache.org/repos/asf/camel/blob/6db0f878/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowLongTest.java ---------------------------------------------------------------------- diff --git a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowLongTest.java b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowLongTest.java index 4d0a367..6eb9dcf 100644 --- a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowLongTest.java +++ b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowLongTest.java @@ -16,7 +16,9 @@ */ package org.apache.camel.component.flatpack; -import java.util.*; +import java.util.List; +import java.util.Map; + import org.apache.camel.EndpointInject; import org.apache.camel.Exchange; import org.apache.camel.Message; @@ -28,8 +30,8 @@ import org.slf4j.LoggerFactory; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests; -import static org.junit.Assert.*; - +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; /** * @version */ http://git-wip-us.apache.org/repos/asf/camel/blob/6db0f878/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortAndLongTest.java ---------------------------------------------------------------------- diff --git a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortAndLongTest.java b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortAndLongTest.java index 637187a..ea4dcd3 100644 --- a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortAndLongTest.java +++ b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortAndLongTest.java @@ -16,7 +16,9 @@ */ package org.apache.camel.component.flatpack; -import java.util.*; +import java.util.List; +import java.util.Map; + import org.apache.camel.EndpointInject; import org.apache.camel.Exchange; import org.apache.camel.Message; @@ -28,7 +30,8 @@ import org.slf4j.LoggerFactory; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests; -import static org.junit.Assert.*; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; /** * @version http://git-wip-us.apache.org/repos/asf/camel/blob/6db0f878/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortTest.java ---------------------------------------------------------------------- diff --git a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortTest.java b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortTest.java index 102ba14..199ee62 100644 --- a/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortTest.java +++ b/components/camel-flatpack/src/test/java/org/apache/camel/component/flatpack/FixedLengthAllowShortTest.java @@ -16,7 +16,9 @@ */ package org.apache.camel.component.flatpack; -import java.util.*; +import java.util.List; +import java.util.Map; + import org.apache.camel.EndpointInject; import org.apache.camel.Exchange; import org.apache.camel.Message; @@ -28,8 +30,8 @@ import org.slf4j.LoggerFactory; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests; -import static org.junit.Assert.*; - +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; /** * @version */