Fix typos

Closes gh-3608
This commit is contained in:
izeye
2015-07-28 11:47:52 +09:00
committed by Stephane Nicoll
parent 32128a6ac2
commit ee6fc8d917
7 changed files with 9 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ import java.util.List;
import java.util.Set;
/**
* Provides access to the arguments that were used run a {@link SpringApplication}.
* Provides access to the arguments that were used to run a {@link SpringApplication}.
*
* @author Phillip Webb
* @since 1.3.0
@@ -44,7 +44,7 @@ public interface ApplicationArguments {
* Return whether the set of option arguments parsed from the arguments contains an
* option with the given name.
* @param name the name to check
* @return {@code true} if the arguments contains an option with the given name
* @return {@code true} if the arguments contain an option with the given name
*/
boolean containsOption(String name);

View File

@@ -21,7 +21,7 @@ import org.springframework.core.annotation.Order;
/**
* Interface used to indicate that a bean should <em>run</em> when it is contained within
* a {@link SpringApplication}. Multiple {@link ApplicationArguments} beans can be defined
* a {@link SpringApplication}. Multiple {@link ApplicationRunner} beans can be defined
* within the same application context and can be ordered using the {@link Ordered}
* interface or {@link Order @Order} annotation.
*

View File

@@ -42,7 +42,7 @@ public class DefaultApplicationArgumentsTests {
public ExpectedException thrown = ExpectedException.none();
@Test
public void argumentsMustNoBeNull() throws Exception {
public void argumentsMustNotBeNull() throws Exception {
this.thrown.expect(IllegalArgumentException.class);
this.thrown.expectMessage("Args must not be null");
new DefaultApplicationArguments(null);