Sha256: cab10bc8e1c71891f13b4bc4c6dded639fd66ecaf30e33b1550e317f4449b65b

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

/**
 * Typical hello world example.
 */
final class HelloWorld {
  /**
   * Prevent class from being instantiated.
   *
   * @throws AssertionError
   */
  private HelloWorld() {
    throw new AssertionError("Instantiating utility class...");
  }

  /**
   * Prints Hello World!
   *
   * @param args Command line arguments
   */
  public static void main(final String[] args) {
    System.out.println("Hello World!");
  }
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
java-checkstyle-0.0.2 spec/fixtures/good.java
pre-commit-checkstyle-0.0.1 spec/fixtures/good.java