You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by pn...@apache.org on 2003/05/05 10:34:50 UTC

cvs commit: jakarta-slide/src/stores/slidestore/file UriProperties.java

pnever      2003/05/05 01:34:50

  Modified:    src/webdav/server/org/apache/slide/webdav/util XMLValue.java
               src/stores/slidestore/file UriProperties.java
  Log:
  Adapted to jdom-b10-dev to fix compile errors reported by gump.
  
  Revision  Changes    Path
  1.10      +5 -5      jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/XMLValue.java
  
  Index: XMLValue.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/XMLValue.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XMLValue.java	11 Jul 2002 16:31:41 -0000	1.9
  +++ XMLValue.java	5 May 2003 08:34:50 -0000	1.10
  @@ -276,7 +276,7 @@
                   List children = document.getRootElement().getChildren();
                   add(children);
                   // detach elements from parent
  -                document.getRootElement().removeChildren();
  +                document.getRootElement().getChildren().clear();
               }
               catch (Exception e) {
                   // should not happen since the StringReader does not
  
  
  
  1.6       +5 -5      jakarta-slide/src/stores/slidestore/file/UriProperties.java
  
  Index: UriProperties.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/stores/slidestore/file/UriProperties.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- UriProperties.java	14 May 2002 11:54:25 -0000	1.5
  +++ UriProperties.java	5 May 2003 08:34:50 -0000	1.6
  @@ -130,7 +130,7 @@
           XMLOutputter aOutputter = new XMLOutputter();
           aOutputter.setEncoding("ISO-8859-1");//Unicode
           aOutputter.setNewlines(true);
  -        aOutputter.setIndent(true);
  +        aOutputter.setIndent("  ");
           aOutputter.setLineSeparator("\n");
           //aOutputter.setTextNormalize(true);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org