diff --git a/src/main/java/org/RI/P2/Indexer.java b/src/main/java/org/RI/P2/Indexer.java index 5400bbd..235d1a7 100644 --- a/src/main/java/org/RI/P2/Indexer.java +++ b/src/main/java/org/RI/P2/Indexer.java @@ -132,18 +132,4 @@ public class Indexer { commitChanges(); } - private static void usage() { - System.out.println("Usage: Indexer "); - System.exit(1); - } - - public static void main(String[] args) throws ParseException, IOException { - if (args.length != 1) { - usage(); - } - String dataDirectory = args[0]; - String indexDirectory = ".index"; - Indexer indexer = new Indexer(dataDirectory, indexDirectory); - indexer.populateIndex(); - } }