cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1543571 - /cxf/branches/2.6.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBSchemaInitializer.java
Date Tue, 19 Nov 2013 20:55:13 GMT
Author: dkulp
Date: Tue Nov 19 20:55:12 2013
New Revision: 1543571

URL: http://svn.apache.org/r1543571
Log:
Java 5ism....

Modified:
    cxf/branches/2.6.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBSchemaInitializer.java

Modified: cxf/branches/2.6.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBSchemaInitializer.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBSchemaInitializer.java?rev=1543571&r1=1543570&r2=1543571&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBSchemaInitializer.java
(original)
+++ cxf/branches/2.6.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBSchemaInitializer.java
Tue Nov 19 20:55:12 2013
@@ -582,7 +582,8 @@ class JAXBSchemaInitializer extends Serv
             if (propertyOrder.length == seq.getItems().size()) {
                 sortItems(seq, propertyOrder);
             } else if (propertyOrder.length > 1 
-                || (propertyOrder.length == 1 && !propertyOrder[0].isEmpty())) {
+                || (propertyOrder.length == 1
+                    && !StringUtils.isEmpty(propertyOrder[0]))) {
                 LOG.log(Level.WARNING, "propOrder in @XmlType doesn't define all schema elements
:" 
                     + Arrays.toString(propertyOrder));
             }



Mime
View raw message