Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

first commit #51

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:source-highlighter: prettify
:project_id: gs-maven

This guide walks you through using Maven to build a simple Java project.
This guide walks you through using Maven to build a simple Java

== What you'll build

Expand Down
2 changes: 1 addition & 1 deletion initial/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
8 changes: 4 additions & 4 deletions initial/src/main/java/hello/Greeter.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package hello;

public class Greeter {
public String sayHello() {
return "Hello world!";
}
}
public String sayHello() {
return "Hello world!";
}
}
10 changes: 5 additions & 5 deletions initial/src/main/java/hello/HelloWorld.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package hello;

public class HelloWorld {
public static void main(String[] args) {
Greeter greeter = new Greeter();
System.out.println(greeter.sayHello());
}
}
public static void main(String[] args) {
Greeter greeter = new Greeter();
System.out.println(greeter.sayHello());
}
}