You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2017/08/02 06:36:45 UTC

[1/4] camel git commit: Upgrade Chronicle Core to version 1.9.1

Repository: camel
Updated Branches:
  refs/heads/master 0b243a48a -> bec5e1dbe


Upgrade Chronicle Core to version 1.9.1


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

Branch: refs/heads/master
Commit: ff214990af8d9bf833dada7cbbc831d2b689fcb3
Parents: 0b243a4
Author: Andrea Cosentino <an...@gmail.com>
Authored: Wed Aug 2 08:26:15 2017 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Wed Aug 2 08:26:15 2017 +0200

----------------------------------------------------------------------
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ff214990/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index fd31144..840834a 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -119,7 +119,7 @@
     <cglib-bundle-version>3.2.5_1</cglib-bundle-version>
     <cglib-version>3.2.5</cglib-version>
     <chronicle-bytes-version>1.9.3</chronicle-bytes-version>
-    <chronicle-core-version>1.9.0</chronicle-core-version>
+    <chronicle-core-version>1.9.1</chronicle-core-version>
     <chronicle-engine-version>1.13.27</chronicle-engine-version>
     <chronicle-map-version>2.4.17</chronicle-map-version>
     <chronicle-network-version>1.9.1</chronicle-network-version>


[4/4] camel git commit: "CAMEL-11620:Requiredement for date string to be longer than pattern is invalid

Posted by ac...@apache.org.
"CAMEL-11620:Requiredement for date string to be longer than pattern is invalid


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

Branch: refs/heads/master
Commit: bec5e1dbe14dc142b44843c341f340b325a91c3b
Parents: 21e30ec
Author: Pulkit <pc...@redhat.com>
Authored: Tue Aug 1 19:19:44 2017 +0530
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Wed Aug 2 08:30:40 2017 +0200

----------------------------------------------------------------------
 .../format/factories/LocalDateFormatFactory.java     | 15 +++------------
 .../format/factories/LocalDateTimeFormatFactory.java | 14 ++------------
 .../format/factories/LocalTimeFormatFactory.java     | 14 ++------------
 3 files changed, 7 insertions(+), 36 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/bec5e1db/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateFormatFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateFormatFactory.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateFormatFactory.java
index 64b8606..66fd217 100644
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateFormatFactory.java
+++ b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateFormatFactory.java
@@ -57,19 +57,10 @@ public class LocalDateFormatFactory extends AbstractFormatFactory {
             DateTimeFormatter df = this.getDateFormat();
 
             ObjectHelper.notNull(this.pattern, "pattern");
-
-            if (doesStringFitLengthOfPattern(string)) {
-                date = LocalDate.parse(string, df);
-                return date;
-            } else {
-                throw new FormatException("Date provided does not fit the pattern defined");
-            }
-
-        }
-
-        private boolean doesStringFitLengthOfPattern(String string) {
-            return string.length() <= this.pattern.length();
+            date = LocalDate.parse(string, df);
+            return date;
         }
+       
 
         DateTimeFormatter getDateFormat() {
             DateTimeFormatter result;

http://git-wip-us.apache.org/repos/asf/camel/blob/bec5e1db/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateTimeFormatFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateTimeFormatFactory.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateTimeFormatFactory.java
index 109168b..74b0c89 100644
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateTimeFormatFactory.java
+++ b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalDateTimeFormatFactory.java
@@ -66,18 +66,8 @@ public class LocalDateTimeFormatFactory extends AbstractFormatFactory {
             DateTimeFormatter df = this.getDateFormat();
 
             ObjectHelper.notNull(this.pattern, "pattern");
-
-            if (doesStringFitLengthOfPattern(string)) {
-                date = LocalDateTime.parse(string, df);
-                return date;
-            } else {
-                throw new FormatException("Date provided does not fit the pattern defined");
-            }
-
-        }
-
-        private boolean doesStringFitLengthOfPattern(String string) {
-            return string.length() <= this.pattern.length();
+            date = LocalDateTime.parse(string, df);
+            return date;
         }
 
         DateTimeFormatter getDateFormat() {

http://git-wip-us.apache.org/repos/asf/camel/blob/bec5e1db/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalTimeFormatFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalTimeFormatFactory.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalTimeFormatFactory.java
index aa177ab..94e63e2 100644
--- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalTimeFormatFactory.java
+++ b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/factories/LocalTimeFormatFactory.java
@@ -66,18 +66,8 @@ public class LocalTimeFormatFactory extends AbstractFormatFactory {
             DateTimeFormatter df = this.getDateFormat();
 
             ObjectHelper.notNull(this.pattern, "pattern");
-
-            if (doesStringFitLengthOfPattern(string)) {
-                date = LocalTime.parse(string, df);
-                return date;
-            } else {
-                throw new FormatException("Date provided does not fit the pattern defined");
-            }
-
-        }
-
-        private boolean doesStringFitLengthOfPattern(String string) {
-            return string.length() <= this.pattern.length();
+            date = LocalTime.parse(string, df);
+            return date;
         }
 
         DateTimeFormatter getDateFormat() {


[2/4] camel git commit: Upgrade Chronicle Bytes to version 1.9.4

Posted by ac...@apache.org.
Upgrade Chronicle Bytes to version 1.9.4


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

Branch: refs/heads/master
Commit: 01eb20fd884f633b4f816eac26ac068135f8896a
Parents: ff21499
Author: Andrea Cosentino <an...@gmail.com>
Authored: Wed Aug 2 08:26:50 2017 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Wed Aug 2 08:26:50 2017 +0200

----------------------------------------------------------------------
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/01eb20fd/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 840834a..90d50df 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -118,7 +118,7 @@
     <jta-api-1.2-version>1.2</jta-api-1.2-version>
     <cglib-bundle-version>3.2.5_1</cglib-bundle-version>
     <cglib-version>3.2.5</cglib-version>
-    <chronicle-bytes-version>1.9.3</chronicle-bytes-version>
+    <chronicle-bytes-version>1.9.4</chronicle-bytes-version>
     <chronicle-core-version>1.9.1</chronicle-core-version>
     <chronicle-engine-version>1.13.27</chronicle-engine-version>
     <chronicle-map-version>2.4.17</chronicle-map-version>


[3/4] camel git commit: Upgrade Chronicle Wire to version 1.9.6

Posted by ac...@apache.org.
Upgrade Chronicle Wire to version 1.9.6


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

Branch: refs/heads/master
Commit: 21e30ec976b3ede8f3df7217e71e8a8b92cf6241
Parents: 01eb20f
Author: Andrea Cosentino <an...@gmail.com>
Authored: Wed Aug 2 08:27:20 2017 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Wed Aug 2 08:27:20 2017 +0200

----------------------------------------------------------------------
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/21e30ec9/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 90d50df..7e85414 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -125,7 +125,7 @@
     <chronicle-network-version>1.9.1</chronicle-network-version>
     <chronicle-queue-version>4.5.27</chronicle-queue-version>
     <chronicle-threads-version>1.8.1</chronicle-threads-version>
-    <chronicle-wire-version>1.9.5</chronicle-wire-version>
+    <chronicle-wire-version>1.9.6</chronicle-wire-version>
     <chunk-templates-version>3.2.4</chunk-templates-version>
     <chunk-templates-bundle-version>3.2.4_1</chunk-templates-bundle-version>
     <classmate-version>1.3.3</classmate-version>