lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r480800 - in /lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db: DbDirectory.java File.java
Date Thu, 30 Nov 2006 01:28:13 GMT
Author: vajda
Date: Wed Nov 29 17:28:11 2006
New Revision: 480800

URL: http://svn.apache.org/viewvc?view=rev&rev=480800
Log:
added support for Berkeley DB 4.5.20

Modified:
    lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/DbDirectory.java
    lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/File.java

Modified: lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/DbDirectory.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/DbDirectory.java?view=diff&rev=480800&r1=480799&r2=480800
==============================================================================
--- lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/DbDirectory.java
(original)
+++ lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/DbDirectory.java
Wed Nov 29 17:28:11 2006
@@ -168,7 +168,7 @@
         try {
             try {
                 DatabaseEntry key = new DatabaseEntry(new byte[0]);
-                DatabaseEntry data = new DatabaseEntry(null);
+                DatabaseEntry data = new DatabaseEntry((byte[]) null);
 
                 data.setPartial(true);
 

Modified: lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/File.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/File.java?view=diff&rev=480800&r1=480799&r2=480800
==============================================================================
--- lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/File.java (original)
+++ lucene/java/trunk/contrib/db/bdb/src/java/org/apache/lucene/store/db/File.java Wed Nov
29 17:28:11 2006
@@ -65,7 +65,7 @@
             else
             {
                 DatabaseEntry key = new DatabaseEntry(new byte[24]);
-                DatabaseEntry data = new DatabaseEntry(null);
+                DatabaseEntry data = new DatabaseEntry((byte[]) null);
                 Db blocks = directory.blocks;
                 DbTxn txn = directory.txn;
                 int flags = directory.flags;
@@ -201,7 +201,7 @@
                 int ulen = bytes.length + 8;
                 byte[] cursorBytes = new byte[ulen];
                 DatabaseEntry cursorKey = new DatabaseEntry(cursorBytes);
-                DatabaseEntry cursorData = new DatabaseEntry(null);
+                DatabaseEntry cursorData = new DatabaseEntry((byte[]) null);
                 Db files = directory.files;
                 Db blocks = directory.blocks;
                 DbTxn txn = directory.txn;



Mime
View raw message