vgritsenko    2004/01/31 05:24:50

  Modified:    java/src/org/apache/xindice/tools/command AddCollection.java
               
java/scratchpad/webdav/src/org/apache/xindice/webdav/datasource/xmldb
                        XMLDBCollection.java
               
java/scratchpad/ui-eclipse/src/org/apache/xindice/tools/ui/eclipse/internuncio
                        Mediator.java
               java/examples/guide/src/org/apache/xindice/examples
                        CreateCollection.java
  Log:
  Remove filer parameter gzip="true" from everywhere.
  Actual gzip compression was removed before 1.0b1.
  
  Revision  Changes    Path
  1.10      +2 -3      
xml-xindice/java/src/org/apache/xindice/tools/command/AddCollection.java
  
  Index: AddCollection.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/src/org/apache/xindice/tools/command/AddCollection.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AddCollection.java        9 Jan 2004 04:14:24 -0000       1.9
  +++ AddCollection.java        31 Jan 2004 13:24:50 -0000      1.10
  @@ -136,7 +136,6 @@
   
                   Element filEle = doc.createElement("filer");
                   filEle.setAttribute("class", 
"org.apache.xindice.core.filer.BTreeFiler");
  -                //filEle.setAttribute("gzip", "true");
                   if (table.containsKey(XMLTools.PAGE_SIZE)) {
                       filEle.setAttribute("pagesize", (String) 
table.get(XMLTools.PAGE_SIZE));
                   }
  
  
  
  1.2       +1 -1      
xml-xindice/java/scratchpad/webdav/src/org/apache/xindice/webdav/datasource/xmldb/XMLDBCollection.java
  
  Index: XMLDBCollection.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/scratchpad/webdav/src/org/apache/xindice/webdav/datasource/xmldb/XMLDBCollection.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XMLDBCollection.java      11 Jun 2003 03:58:10 -0000      1.1
  +++ XMLDBCollection.java      31 Jan 2004 13:24:50 -0000      1.2
  @@ -195,7 +195,7 @@
         
         String newCollectionConfig =
                 "<collection compressed=\"true\" name=\"" + name + "\">" +
  -              "   <filer class=\"org.apache.xindice.core.filer.BTreeFiler\" 
gzip=\"true\"/>" +
  +              "   <filer 
class=\"org.apache.xindice.core.filer.BTreeFiler\"/>" +
                 "</collection>";
         
         service.createCollection(name, 
DOMParser.toDocument(newCollectionConfig));
  
  
  
  1.5       +2 -4      
xml-xindice/java/scratchpad/ui-eclipse/src/org/apache/xindice/tools/ui/eclipse/internuncio/Mediator.java
  
  Index: Mediator.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/scratchpad/ui-eclipse/src/org/apache/xindice/tools/ui/eclipse/internuncio/Mediator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Mediator.java     11 Jun 2003 03:32:49 -0000      1.4
  +++ Mediator.java     31 Jan 2004 13:24:50 -0000      1.5
  @@ -612,10 +612,8 @@
   
                        // Build up the Collection XML configuration.
                        String collectionConfig =
  -                             "<collection compressed=\"true\" name=\""
  -                                     + name
  -                                     + "\">"
  -                                     + "   <filer 
class=\"org.apache.xindice.core.filer.BTreeFiler\" gzip=\"true\"/>"
  +                             "<collection compressed=\"true\" name=\"" + 
name + "\">"
  +                                     + "   <filer 
class=\"org.apache.xindice.core.filer.BTreeFiler\"/>"
                                        + "</collection>";
   
                        service.createCollection(name, 
DOMParser.toDocument(collectionConfig));
  
  
  
  1.7       +3 -5      
xml-xindice/java/examples/guide/src/org/apache/xindice/examples/CreateCollection.java
  
  Index: CreateCollection.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/examples/guide/src/org/apache/xindice/examples/CreateCollection.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- CreateCollection.java     7 Aug 2003 20:13:20 -0000       1.6
  +++ CreateCollection.java     31 Jan 2004 13:24:50 -0000      1.7
  @@ -90,10 +90,8 @@
   
                        // Build up the Collection XML configuration.
                        String collectionConfig =
  -                             "<collection compressed=\"true\" name=\""
  -                                     + COLLECTION_NAME
  -                                     + "\">"
  -                                     + "   <filer 
class=\"org.apache.xindice.core.filer.BTreeFiler\" gzip=\"true\"/>"
  +                             "<collection compressed=\"true\" name=\"" + 
COLLECTION_NAME + "\">"
  +                                     + "   <filer 
class=\"org.apache.xindice.core.filer.BTreeFiler\"/>"
                                        + "</collection>";
   
                        service.createCollection(COLLECTION_NAME, 
DOMParser.toDocument(collectionConfig));
  
  
  

Reply via email to