accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Medinets <david.medin...@gmail.com>
Subject src/start/TestMain.java - was this intended to do something?
Date Mon, 12 Mar 2012 01:44:38 GMT
This is the file contents. Where there plans or intentions to make it
into something more?

package org.apache.accumulo.start;

public class TestMain {
  public static void main(String[] args) {
    if (args.length > 0) {
      if (args[0].equals("success"))
        System.exit(0);
      if (args[0].equals("throw"))
        throw new RuntimeException("This is an exception");
    }
    System.exit(-1);
  }
}

Mime
View raw message