Skip to content

Commit

Permalink
bugfix for
Browse files Browse the repository at this point in the history
  • Loading branch information
orbiter committed Oct 28, 2006
1 parent 4d19d94 commit e6044e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/de/anomic/kelondro/kelondroCollectionIndex.java
Expand Up @@ -161,7 +161,7 @@ private void openAllArrayFiles(boolean indexGeneration, kelondroOrder indexOrder

// write a log
if (System.currentTimeMillis() - lastlog > 30000) {
serverLog.logFine("STARTUP", "created " + j + " RWI index entries. " + (((System.currentTimeMillis() - start) * (array.USAGE.allCount() - j) / j) / 60000) + " minutes remaining for this array");
serverLog.logFine("STARTUP", "created " + j + " RWI index entries. " + (((System.currentTimeMillis() - start) * (array.USAGE.allCount() - j) / ((j == 0) ? 1 : j)) / 60000) + " minutes remaining for this array");
lastlog = System.currentTimeMillis();
}
}
Expand Down
2 changes: 1 addition & 1 deletion source/de/anomic/plasma/plasmaCrawlLURLOldEntry.java
Expand Up @@ -247,7 +247,7 @@ public int quality() {
}

public String language() {
return language;
return (language == null) ? "en" : language;
}

public int size() {
Expand Down

0 comments on commit e6044e5

Please sign in to comment.