File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * HelloWorld program implements an application that
3+ * simply displays "Hello World!" to the standard output.
4+ *
5+ * @author Angel
6+ * @version 1.0
7+ * @since 2025-09-09
8+ */
9+ public final class HelloWorldStyle {
10+
11+ /**
12+ * This is a private constructor used to satisfy the
13+ * style checker
14+ *
15+ * @exception IllegalStateException Utility class
16+ * @se
17+ * e IllegalStateException
18+ */
19+ private HelloWorldStyle () {
20+ throw new IllegalStateException ("Utility class" );
21+ }
22+
23+ /**
24+ * This is the main method
25+ *
26+ * @param args Unused
27+ */
28+ public static void main (String [] args ) {
29+ System .out .println ("HelloWorld! with style" );
30+ }
31+ }
Original file line number Diff line number Diff line change 1+ /**
2+ * This is the package-info for
3+ * HelloWorldStyle.java.
4+ * @author Angel
5+ * @version 1.0
6+ * @since 2025-09-09
7+ */
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ java -jar ./linter/checkstyle.app -c ./linter/sun_checks.xml * .java
4+
You can’t perform that action at this time.
0 commit comments