[prev in list] [next in list] [prev in thread] [next in thread]
List: xindice-dev
Subject: svn commit: r532920 -
From: vgritsenko () apache ! org
Date: 2007-04-27 0:22:09
Message-ID: 20070427002209.8B3D41A983E () eris ! apache ! org
[Download RAW message or body]
Author: vgritsenko
Date: Thu Apr 26 17:22:08 2007
New Revision: 532920
URL: http://svn.apache.org/viewvc?view=rev&rev=532920
Log:
fix log message
Modified:
xml/xindice/trunk/java/src/org/apache/xindice/tools/DatabaseRebuild.java
Modified: xml/xindice/trunk/java/src/org/apache/xindice/tools/DatabaseRebuild.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/tools/DatabaseRebuild.java?view=diff&rev=532920&r1=532919&r2=532920
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/tools/DatabaseRebuild.java \
(original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/tools/DatabaseRebuild.java Thu Apr \
26 17:22:08 2007 @@ -190,17 +190,24 @@
}
// prepare
+ Filer itsFiler = col.getFiler();
FilerCopy oldFiler;
FilerCopy newFiler;
- if (col.getFiler() instanceof BTreeFiler) {
+ if (itsFiler == null) {
+ if (log.isInfoEnabled()) {
+ log.info("Collection " + col.getCanonicalName() + " has no filer. \
Skipping..."); + }
+
+ return true;
+ } if (itsFiler instanceof BTreeFiler) {
oldFiler = new BTreeCopy();
newFiler = new BTreeCopy();
- } else if (col.getFiler() instanceof HashFiler) {
+ } else if (itsFiler instanceof HashFiler) {
oldFiler = new HashCopy();
newFiler = new HashCopy();
} else {
if (log.isInfoEnabled()) {
- log.info("Filer for collection " + col.getCanonicalName() + " is \
neither BTreeFiler nor HashFiler. Skipping..."); + \
log.info("Collection " + col.getCanonicalName() + " has unrecognized filer '" + \
itsFiler.getClass().getName() + "'. Skipping..."); }
return true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic