Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8298E1088A for ; Fri, 11 Jul 2014 06:46:24 +0000 (UTC) Received: (qmail 59147 invoked by uid 500); 11 Jul 2014 06:46:24 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 59098 invoked by uid 500); 11 Jul 2014 06:46:24 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 58995 invoked by uid 99); 11 Jul 2014 06:46:24 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2014 06:46:24 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 28B689ACAC5; Fri, 11 Jul 2014 06:46:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Fri, 11 Jul 2014 06:46:28 -0000 Message-Id: <4525f0749c314d6cbcaf7c482c078f40@git.apache.org> In-Reply-To: <6b08ab0b4ac7441881f58978f39ceb46@git.apache.org> References: <6b08ab0b4ac7441881f58978f39ceb46@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [6/6] git commit: Fixed CS 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 Authored: Fri Jul 11 08:45:12 2014 +0200 Committer: Claus Ibsen 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 + "]"; + } }