mirror of https://github.com/apache/lucene.git
Removing main method added for testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@746300 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
831a3026de
commit
ed887ca631
|
@ -638,13 +638,6 @@ public class DocBuilder {
|
|||
|
||||
public static final String TIME_ELAPSED = "Time Elapsed";
|
||||
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
long l = System.currentTimeMillis();
|
||||
Thread.sleep(1050);
|
||||
System.out.println(getTimeElapsedSince(l));
|
||||
|
||||
}
|
||||
|
||||
static String getTimeElapsedSince(long l) {
|
||||
l = System.currentTimeMillis() - l;
|
||||
return (l / (60000 * 60)) % 60 + ":" + (l / 60000) % 60 + ":" + (l / 1000)
|
||||
|
|
Loading…
Reference in New Issue