servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r662449 - in /servicemix/smx4/specs/trunk: jaxb-api-2.0/src/main/java/javax/xml/bind/annotation/XmlEnum.java jaxb-api-2.1/src/main/java/javax/xml/bind/annotation/XmlEnum.java
Date Mon, 02 Jun 2008 14:49:54 GMT
Author: gnodet
Date: Mon Jun  2 07:49:53 2008
New Revision: 662449

URL: http://svn.apache.org/viewvc?rev=662449&view=rev
Log:
Add default value to XmlEnum#value()

Modified:
    servicemix/smx4/specs/trunk/jaxb-api-2.0/src/main/java/javax/xml/bind/annotation/XmlEnum.java
    servicemix/smx4/specs/trunk/jaxb-api-2.1/src/main/java/javax/xml/bind/annotation/XmlEnum.java

Modified: servicemix/smx4/specs/trunk/jaxb-api-2.0/src/main/java/javax/xml/bind/annotation/XmlEnum.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api-2.0/src/main/java/javax/xml/bind/annotation/XmlEnum.java?rev=662449&r1=662448&r2=662449&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api-2.0/src/main/java/javax/xml/bind/annotation/XmlEnum.java
(original)
+++ servicemix/smx4/specs/trunk/jaxb-api-2.0/src/main/java/javax/xml/bind/annotation/XmlEnum.java
Mon Jun  2 07:49:53 2008
@@ -25,5 +25,5 @@
 @Target(ElementType.TYPE)
 public @interface XmlEnum {
 
-    Class value();
+    Class value() default String.class;
 }

Modified: servicemix/smx4/specs/trunk/jaxb-api-2.1/src/main/java/javax/xml/bind/annotation/XmlEnum.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jaxb-api-2.1/src/main/java/javax/xml/bind/annotation/XmlEnum.java?rev=662449&r1=662448&r2=662449&view=diff
==============================================================================
--- servicemix/smx4/specs/trunk/jaxb-api-2.1/src/main/java/javax/xml/bind/annotation/XmlEnum.java
(original)
+++ servicemix/smx4/specs/trunk/jaxb-api-2.1/src/main/java/javax/xml/bind/annotation/XmlEnum.java
Mon Jun  2 07:49:53 2008
@@ -25,5 +25,5 @@
 @Target(ElementType.TYPE)
 public @interface XmlEnum {
 
-    Class value();
+    Class value() default String.class;
 }



Mime
View raw message