mirror of https://github.com/apache/lucene.git
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:
parent
81d734b11b
commit
489e0373cd
|
@ -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.));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue