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:
Shalin Shekhar Mangar 2009-02-20 17:37:00 +00:00
parent 831a3026de
commit ed887ca631
1 changed files with 0 additions and 7 deletions

View File

@ -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)