This reverts commit 4d09f82aec
This commit is contained in:
Ceren U_urlu
2019-02-26 07:56:07 +00:00
parent 4d09f82aec
commit 43ace24fa7
6 changed files with 9 additions and 95 deletions

40
Server/.gitignore vendored
View File

@@ -1,40 +0,0 @@
# # Maven ignores
# target/
# pom.xml.tag
# pom.xml.releaseBackup
# pom.xml.versionsBackup
# pom.xml.next
# release.properties
# dependency-reduced-pom.xml
# buildNumber.properties
# .mvn/timing.properties
# # Exclude maven wrapper
# !/.mvn/wrapper/maven-wrapper.jar
# Created by https://www.gitignore.io/api/java,maven,eclipse,intellij,visualstudiocode
# Edit at https://www.gitignore.io/?templates=java,maven,eclipse,intellij,visualstudiocode
### Gradle ###
.gradle
build/
# Ignore Gradle GUI config
gradle-app.setting
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
# Cache of project
.gradletasknamecache
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties
### Gradle Patch ###
**/build/
# End of https://www.gitignore.io/api/java,maven,eclipse,intellij,visualstudiocode

View File

@@ -3,11 +3,9 @@ package hello;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//application to boot with spring
@SpringBootApplication
public class Application {
//run the application
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}

View File

@@ -13,7 +13,6 @@ public class GreetingController {
@RequestMapping("/greeting")
public Greeting greeting(@RequestParam(value="name", defaultValue="World") String name) {
//increment the id every time the page is refreshed (a new user visits the page)
return new Greeting(counter.incrementAndGet(),
String.format(template, name));
}