luetzkendorf    2004/11/08 01:43:55

  Modified:    src/stores/org/apache/slide/store/txfile
                        AbstractXMLResourceDescriptor.java
  Log:
  replaced the dataFormat with one that works on JDK1.3 (lowercase z instead of 
Z)
  set the xml formatter to compact to reduces the size of descriptors)
  
  Revision  Changes    Path
  1.5       +5 -5      
jakarta-slide/src/stores/org/apache/slide/store/txfile/AbstractXMLResourceDescriptor.java
  
  Index: AbstractXMLResourceDescriptor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/stores/org/apache/slide/store/txfile/AbstractXMLResourceDescriptor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractXMLResourceDescriptor.java        22 Sep 2004 14:11:24 -0000      
1.4
  +++ AbstractXMLResourceDescriptor.java        8 Nov 2004 09:43:55 -0000       
1.5
  @@ -261,10 +261,10 @@
           String characterEncoding)
           throws ServiceAccessException {
   
  -        outputFormat = Format.getPrettyFormat();
  +        outputFormat = Format.getCompactFormat();
           outputFormat.setEncoding(characterEncoding);
   
  -        dateFormat = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss Z");
  +        dateFormat = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss z");
   
           this.txId = txId;
   
  
  
  

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

Reply via email to