diff --git a/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java b/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java
index e33ab4885a..8579230fe1 100644
--- a/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java
+++ b/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java
@@ -80,7 +80,7 @@ import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.StandardServletEnvironment;
/**
- * Classes that can be used to bootstrap and launch a Spring application from a Java main
+ * Class that can be used to bootstrap and launch a Spring application from a Java main
* method. By default class will perform the following steps to bootstrap your
* application:
*
@@ -115,9 +115,9 @@ import org.springframework.web.context.support.StandardServletEnvironment;
*
*
* public static void main(String[] args) throws Exception {
- * SpringApplication app = new SpringApplication(MyApplication.class);
- * // ... customize app settings here
- * app.run(args)
+ * SpringApplication application = new SpringApplication(MyApplication.class);
+ * // ... customize application settings here
+ * application.run(args)
* }
*
*
@@ -138,8 +138,8 @@ import org.springframework.web.context.support.StandardServletEnvironment;
*
*
* Configuration properties are also bound to the {@link SpringApplication}. This makes it
- * possible to set {@link SpringApplication} properties dynamically, like the sources
- * ("spring.main.sources" - a CSV list) the flag to indicate a web environment
+ * possible to set {@link SpringApplication} properties dynamically, like additional
+ * sources ("spring.main.sources" - a CSV list) the flag to indicate a web environment
* ("spring.main.web-application-type=none") or the flag to switch off the banner
* ("spring.main.banner-mode=off").
*
@@ -215,7 +215,9 @@ public class SpringApplication {
private static final Log logger = LogFactory.getLog(SpringApplication.class);
- private final Set