camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/3] git commit: CAMEL-7120: Fixed potential NPE due copy/paste mistake. Thanks to Josh Reagan for reporting.
Date Fri, 10 Jan 2014 09:29:55 GMT
CAMEL-7120: Fixed potential NPE due copy/paste mistake. Thanks to Josh Reagan for reporting.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/642a1d69
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/642a1d69
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/642a1d69

Branch: refs/heads/camel-2.12.x
Commit: 642a1d695bd1b34700b845a43219737e77db1aae
Parents: 136d7c3
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Jan 10 10:32:34 2014 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Jan 10 10:32:58 2014 +0100

----------------------------------------------------------------------
 .../camel/dataformat/bindy/fixed/BindyFixedLengthDataFormat.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/642a1d69/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/BindyFixedLengthDataFormat.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/BindyFixedLengthDataFormat.java
b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/BindyFixedLengthDataFormat.java
index afb0c96..180b982 100644
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/BindyFixedLengthDataFormat.java
+++ b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/fixed/BindyFixedLengthDataFormat.java
@@ -103,7 +103,7 @@ public class BindyFixedLengthDataFormat extends BindyAbstractDataFormat
{
         
         // add the footer if it is in the exchange header
         Map<String, Object> footerRow = (Map<String, Object>) exchange.getIn().getHeader(CAMEL_BINDY_FIXED_LENGTH_FOOTER);
-        if (headerRow != null) {
+        if (footerRow != null) {
             models.add(models.size(), footerRow);
         }
 


Mime
View raw message