Fix forbiddena-apis failure

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620269 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2014-08-25 07:37:53 +00:00
parent 81d734b11b
commit 489e0373cd
1 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@ import java.io.File;
import java.io.FileNotFoundException;
import java.io.FilenameFilter;
import java.io.IOException;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
@ -1272,7 +1271,7 @@ public class UpdateLog implements PluginInfoInitialized {
loglog.info(
"log replay status {} active={} starting pos={} current pos={} current size={} % read={}",
translog, activeLog, recoveryInfo.positionOfStart, cpos, csize,
new DecimalFormat("###").format(cpos / (double) csize * 100));
Math.round(cpos / (double) csize * 100.));
}
}