Author: chinthaka
Date: Wed Jul 26 01:16:11 2006
New Revision: 425667

URL: http://svn.apache.org/viewvc?rev=425667&view=rev
Log:
Fixig the build break in JDK14. Before your commit make sure ALL the tests pass 
in JDK14, and in JDK15 as well, if possible.

Modified:
    
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/util/OMSerializerUtil.java

Modified: 
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/util/OMSerializerUtil.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/util/OMSerializerUtil.java?rev=425667&r1=425666&r2=425667&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/util/OMSerializerUtil.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/util/OMSerializerUtil.java
 Wed Jul 26 01:16:11 2006
@@ -155,7 +155,7 @@
      */
     public static boolean isSetPrefixBeforeStartElement(XMLStreamWriter 
writer) {
        NamespaceContext nc = writer.getNamespaceContext();
-       return(nc ==null || !nc.getClass().getName().contains("wstx"));
+       return(nc ==null || nc.getClass().getName().indexOf("wstx") == -1);
     }
     
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to