Flextable: filename in errormessage if inconsistent

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5015 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
danielr 17 years ago
parent d42eae25f8
commit 7913bdb75b

@ -471,7 +471,7 @@ public class kelondroFlexTable extends kelondroFlexWidthArray implements kelondr
serverLog.logWarning("kelondroFlexTable", "close(): file '" + this.filename + "' was not tracked with record tracker."); serverLog.logWarning("kelondroFlexTable", "close(): file '" + this.filename + "' was not tracked with record tracker.");
} }
if ((index != null) && (this.size() != ((index == null) ? 0 : index.size()))) { if ((index != null) && (this.size() != ((index == null) ? 0 : index.size()))) {
serverLog.logSevere("kelondroFlexTable", "close(): inconsistent content/index size. content.size() = " + this.size() + ", index.size() = " + ((index == null) ? 0 : index.size())); serverLog.logSevere("kelondroFlexTable", this.filename + " close(): inconsistent content/index size. content.size() = " + this.size() + ", index.size() = " + ((index == null) ? 0 : index.size()));
} }
if (index != null) {index.close(); index = null;} if (index != null) {index.close(); index = null;}

Loading…
Cancel
Save