Fixed CS
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1a5f700d Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1a5f700d Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1a5f700d Branch: refs/heads/master Commit: 1a5f700d73db519905139287ad43bbfe43e654bc Parents: c1483c6 Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Jul 11 08:45:12 2014 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Jul 11 08:45:12 2014 +0200 ---------------------------------------------------------------------- .../bindy/csv/BindyPatternLocaleTest.java | 33 ++++++------ .../dataformat/bindy/model/padding/Unity.java | 56 +++++++++++++------- 2 files changed, 52 insertions(+), 37 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/1a5f700d/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyPatternLocaleTest.java ---------------------------------------------------------------------- diff --git a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyPatternLocaleTest.java b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyPatternLocaleTest.java index 75827e3..fcc92f4 100644 --- a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyPatternLocaleTest.java +++ b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/csv/BindyPatternLocaleTest.java @@ -1,19 +1,19 @@ /** -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.camel.dataformat.bindy.csv; import java.util.Locale; @@ -96,8 +96,7 @@ public class BindyPatternLocaleTest extends CamelTestSupport { // specify the default locale bindy.setLocale("default"); - from("direct:marshal").marshal(bindy). - to("mock:marshal"); + from("direct:marshal").marshal(bindy).to("mock:marshal"); } }; } http://git-wip-us.apache.org/repos/asf/camel/blob/1a5f700d/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/padding/Unity.java ---------------------------------------------------------------------- diff --git a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/padding/Unity.java b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/padding/Unity.java index 3cdefcb..d25b077 100644 --- a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/padding/Unity.java +++ b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/padding/Unity.java @@ -1,3 +1,19 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.camel.dataformat.bindy.model.padding; import org.apache.camel.dataformat.bindy.annotation.CsvRecord; @@ -5,31 +21,31 @@ import org.apache.camel.dataformat.bindy.annotation.DataField; @CsvRecord(separator = ",") public class Unity { - @DataField(pos = 1, pattern = "000") - public float mandant; + @DataField(pos = 1, pattern = "000") + public float mandant; - @DataField(pos = 2, pattern = "000") - public float receiver; + @DataField(pos = 2, pattern = "000") + public float receiver; - public float getMandant() { - return mandant; - } + public float getMandant() { + return mandant; + } - public void setMandant(float mandant) { - this.mandant = mandant; - } + public void setMandant(float mandant) { + this.mandant = mandant; + } - public float getReceiver() { - return receiver; - } + public float getReceiver() { + return receiver; + } - public void setReceiver(float receiver) { - this.receiver = receiver; - } + public void setReceiver(float receiver) { + this.receiver = receiver; + } - @Override - public String toString() { - return "Unity [mandant=" + mandant + ", receiver=" + receiver + "]"; - } + @Override + public String toString() { + return "Unity [mandant=" + mandant + ", receiver=" + receiver + "]"; + } }