camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r954719 - /camel/trunk/camel-core/src/main/java/org/apache/camel/model/DescriptionDefinition.java
Date Tue, 15 Jun 2010 06:12:35 GMT
Author: davsclaus
Date: Tue Jun 15 06:12:34 2010
New Revision: 954719

URL: http://svn.apache.org/viewvc?rev=954719&view=rev
Log:
CAMEL-2799: Description is now as:any so end users can store more complex stuff in there.

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/DescriptionDefinition.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/DescriptionDefinition.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/DescriptionDefinition.java?rev=954719&r1=954718&r2=954719&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/DescriptionDefinition.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/DescriptionDefinition.java
Tue Jun 15 06:12:34 2010
@@ -32,9 +32,8 @@ import javax.xml.bind.annotation.XmlValu
 public class DescriptionDefinition {
     @XmlAttribute(required = false)
     private String lang;
-
-    @XmlValue
-    private String text;
+    @XmlValue()
+    private Object text;
 
     public String getLang() {
         return lang;
@@ -44,11 +43,11 @@ public class DescriptionDefinition {
         this.lang = lang;
     }
 
-    public String getText() {
+    public Object getText() {
         return text;
     }
 
-    public void setText(String text) {
+    public void setText(Object text) {
         this.text = text;
     }
 }



Mime
View raw message