Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes spring-projectsgh-652 some more
  • Loading branch information
Dave Syer committed Apr 10, 2014
1 parent c0cf31c commit 65e34a7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,19 @@ started''] guide. Documentation is published in {docs}/htmlsingle/[HTML],
{docs}/pdf/spring-boot-reference.pdf[PDF] and {docs}/epub/spring-boot-reference.epub[EPUB]
formats.

Here is a quick teaser of a Spring Boot application:
Here is a quick teaser of a complete Spring Boot application in Java:

[source,java,indent=0]
----
import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.stereotype.*;
import org.springframework.web.bind.annotation.*;
@Controller
@RestController
@EnableAutoConfiguration
public class Example {
@RequestMapping("/")
@ResponseBody
String home() {
return "Hello World!";
}
Expand Down

0 comments on commit 65e34a7

Please sign in to comment.