svn commit: r521531 - /xml/xindice/trunk/java/tests/src/org/apache/xindice/integration/client/XmlDbClient.java

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
Author: vgritsenko
Date: Thu Mar 22 16:40:56 2007
New Revision: 521531

URL: http://svn.apache.org/viewvc?view=rev&rev=521531
Log:
jdk 1.3 compatibility

Modified:
    xml/xindice/trunk/java/tests/src/org/apache/xindice/integration/client/XmlDbClient.java

Modified: xml/xindice/trunk/java/tests/src/org/apache/xindice/integration/client/XmlDbClient.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/tests/src/org/apache/xindice/integration/client/XmlDbClient.java?view=diff&rev=521531&r1=521530&r2=521531
==============================================================================
--- xml/xindice/trunk/java/tests/src/org/apache/xindice/integration/client/XmlDbClient.java (original)
+++ xml/xindice/trunk/java/tests/src/org/apache/xindice/integration/client/XmlDbClient.java Thu Mar 22 16:40:56 2007
@@ -44,7 +44,7 @@
 
     public XmlDbClient(String driver, boolean compression) throws Exception {
         this.driver = driver;
-        this.compression = Boolean.toString(compression);
+        this.compression = compression ? "true" : "false";
     }
 
     public String getDriver() {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.