vgritsenko    2004/02/18 18:51:35

  Modified:    java/src/org/apache/xindice/client/xmldb/services
                        XUpdateQueryServiceImpl.java
  Log:
  formatting
  
  Revision  Changes    Path
  1.12      +4 -5      
xml-xindice/java/src/org/apache/xindice/client/xmldb/services/XUpdateQueryServiceImpl.java
  
  Index: XUpdateQueryServiceImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/src/org/apache/xindice/client/xmldb/services/XUpdateQueryServiceImpl.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XUpdateQueryServiceImpl.java      8 Feb 2004 02:43:02 -0000       1.11
  +++ XUpdateQueryServiceImpl.java      19 Feb 2004 02:51:35 -0000      1.12
  @@ -50,7 +50,7 @@
           Document doc = (Document) resource.getContentAsDOM();
   
           /**
  -         modified by tlr - server sends:
  +         * Modified by tlr - server sends:
            * <src:modified 
xmlns:src="http://xml.apache.org/xindice/Query";>1</src:modified>
            * which is not properly decoded by original code (drills one level 
too deep)
            // Get the src:modified element
  @@ -65,11 +65,10 @@
           } catch (Exception e) {
               throw new XMLDBException(ErrorCodes.VENDOR_ERROR, "Unable to 
retrieve <src:modified> element content from server result", e);
           }
  -        try {
   
  +        try {
               return Long.parseLong(count);
           } catch (Exception e) {
  -
               throw new XMLDBException(ErrorCodes.VENDOR_ERROR, 
"<src:modified> in server result did not contain a valid count", e);
           }
       }
  
  
  

Reply via email to