Sha256: 337a2181fc64a7362cc045f627b30752063a9af7d3bd9f66f518fa11179f1fd4

Contents?: true

Size: 460 Bytes

Versions: 4

Compression:

Stored size: 460 Bytes

Contents

/**
 * Typical hello world example.
 * It has a good style.
 */
final class Good {
  /**
   * Prevent class from being instantiated.
   *
   * @throws AssertionError if some smart guy try.
   */
  public Good() {
    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

4 entries across 4 versions & 1 rubygems

Version Path
java-checkstyle-1.0.5 spec/fixtures/good.java
java-checkstyle-1.0.4 spec/fixtures/good.java
java-checkstyle-1.0.3 spec/fixtures/good.java
java-checkstyle-1.0.0 spec/fixtures/good.java