File tree 2 files changed +5
-13
lines changed
main/java/com/iluwatar/abstractdocument
test/java/com/iluwatar/abstractdocument
2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,11 @@ public class App {
43
43
private static final Logger LOGGER = LoggerFactory .getLogger (App .class );
44
44
45
45
/**
46
- * Executes the App.
46
+ * Program entry point.
47
+ *
48
+ * @param args command line args
47
49
*/
48
- public App ( ) {
50
+ public static void main ( String [] args ) {
49
51
LOGGER .info ("Constructing parts and car" );
50
52
51
53
var wheelProperties = Map .of (
@@ -75,14 +77,4 @@ public App() {
75
77
p .getPrice ().orElse (null ))
76
78
);
77
79
}
78
-
79
- /**
80
- * Program entry point.
81
- *
82
- * @param args command line args
83
- */
84
- public static void main (String [] args ) {
85
- new App ();
86
- }
87
-
88
80
}
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public class AbstractDocumentTest {
40
40
private static final String KEY = "key" ;
41
41
private static final String VALUE = "value" ;
42
42
43
- private class DocumentImplementation extends AbstractDocument {
43
+ private static class DocumentImplementation extends AbstractDocument {
44
44
45
45
DocumentImplementation (Map <String , Object > properties ) {
46
46
super (properties );
You can’t perform that action at this time.
0 commit comments