diff src/luan/modules/lucene/LuceneIndex.java @ 1399:38a1c1b4279a

fix
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 11 Sep 2019 16:28:38 -0600
parents 67c0e47b5be3
children 27efb1fcbcb5
line wrap: on
line diff
--- a/src/luan/modules/lucene/LuceneIndex.java	Wed Sep 11 15:48:49 2019 -0600
+++ b/src/luan/modules/lucene/LuceneIndex.java	Wed Sep 11 16:28:38 2019 -0600
@@ -970,7 +970,7 @@
 	}
 
 	private boolean equal(LuanTable t1,LuanTable t2) throws LuanException {
-		return t1.asMap().equals(t2.asMap());
+		return t1!=null && t2!=null && t1.asMap().equals(t2.asMap());
 	}
 
 }