|
From: <tho...@us...> - 2010-08-04 20:26:10
|
Revision: 3412
http://bigdata.svn.sourceforge.net/bigdata/?rev=3412&view=rev
Author: thompsonbry
Date: 2010-08-04 20:26:03 +0000 (Wed, 04 Aug 2010)
Log Message:
-----------
Bug fix at com.bigdata.rdf.lexicon.LexiconRelation$ResolveTermTask.call(LexiconRelation.java:1899) an assert was using "==" when it should have been using equals() to compare IVs.
Modified Paths:
--------------
trunk/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/LexiconRelation.java
Modified: trunk/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/LexiconRelation.java
===================================================================
--- trunk/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/LexiconRelation.java 2010-08-04 20:06:49 UTC (rev 3411)
+++ trunk/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/LexiconRelation.java 2010-08-04 20:26:03 UTC (rev 3412)
@@ -1896,7 +1896,7 @@
* IllegalStateException if the value somehow was assigned
* the wrong term identifier (paranoia test).
*/
- assert value.getIV() == tid : "expecting tid=" + tid
+ assert value.getIV().equals(tid) : "expecting tid=" + tid
+ ", but found " + value.getIV();
assert (value).getValueFactory() == valueFactory;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|