This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new a972c8f camel3 - Move TimeUnitAdapter from builder.xml to model as
its part of the model.
a972c8f is described below
commit a972c8f131d9d74eb7308815fd68f54a9a608d6c
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jan 29 08:30:12 2019 +0100
camel3 - Move TimeUnitAdapter from builder.xml to model as its part of the
model.
---
camel-core/src/main/java/org/apache/camel/model/TimeUnitAdapter.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/camel-core/src/main/java/org/apache/camel/model/TimeUnitAdapter.java
b/camel-core/src/main/java/org/apache/camel/model/TimeUnitAdapter.java
index 12f13c7..ae03f5f 100644
--- a/camel-core/src/main/java/org/apache/camel/model/TimeUnitAdapter.java
+++ b/camel-core/src/main/java/org/apache/camel/model/TimeUnitAdapter.java
@@ -20,11 +20,13 @@ import java.util.Locale;
import java.util.concurrent.TimeUnit;
import javax.xml.bind.annotation.adapters.XmlAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <code>TimeUnitAdapter</code> is a simple adapter to convert between Strings
* and instances of the {@link TimeUnit} enumeration
*/
+@XmlJavaTypeAdapter(value = TimeUnitAdapter.class)
public class TimeUnitAdapter extends XmlAdapter<String, TimeUnit> {
@Override