Skip to content

Commit 0a85281

Browse files
izeyesnicoll
authored andcommitted
Fix typos
Closes gh-4463
1 parent b83368a commit 0a85281

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public static void registerUrlProtocolHandler() {
456456
}
457457

458458
/**
459-
* Reset any cached handers just in case a jar protocol has already been used. We
459+
* Reset any cached handlers just in case a jar protocol has already been used. We
460460
* reset the handler by trying to set a null {@link URLStreamHandlerFactory} which
461461
* should have no effect other than clearing the handlers cache.
462462
*/

spring-boot/src/main/java/org/springframework/boot/SpringApplication.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ protected void refresh(ApplicationContext applicationContext) {
755755
/**
756756
* Called after the context has been refreshed.
757757
* @param context the application context
758-
* @param args the application argumments
758+
* @param args the application arguments
759759
*/
760760
protected void afterRefresh(ConfigurableApplicationContext context,
761761
ApplicationArguments args) {
@@ -799,7 +799,7 @@ private void callRunner(CommandLineRunner runner, ApplicationArguments args) {
799799
/**
800800
* Called after the context has been refreshed.
801801
* @param context the application context
802-
* @param args the application argumments
802+
* @param args the application arguments
803803
* @deprecated in 1.3 in favor of
804804
* {@link #afterRefresh(ConfigurableApplicationContext, ApplicationArguments)}
805805
*/

spring-boot/src/main/java/org/springframework/boot/context/embedded/ServletRegistrationBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public ServletRegistrationBean(Servlet servlet, boolean alwaysMapUrl,
100100

101101
/**
102102
* Returns the servlet being registered.
103-
* @return the sevlet
103+
* @return the servlet
104104
*/
105105
protected Servlet getServlet() {
106106
return this.servlet;

spring-boot/src/main/java/org/springframework/boot/jta/atomikos/AtomikosProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void setTransactionManagerUniqueName(String uniqueName) {
106106
/**
107107
* Specifies if subtransactions should be joined when possible. Defaults to true. When
108108
* false, no attempt to call {@code XAResource.start(TM_JOIN)} will be made for
109-
* different but related subtransctions. This setting has no effect on resource access
109+
* different but related subtransactions. This setting has no effect on resource access
110110
* within one and the same transaction. If you don't use subtransactions then this
111111
* setting can be ignored.
112112
* @param serialJtaTransactions if serial JTA transaction are supported

spring-boot/src/main/java/org/springframework/boot/web/servlet/ServletComponentHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected String[] extractUrlPatterns(String attribute,
5555
String[] urlPatterns = (String[]) attributes.get("urlPatterns");
5656
if (urlPatterns.length > 0) {
5757
Assert.state(value.length == 0,
58-
"The urlPatterns and value attributes " + "are mututally exclusive");
58+
"The urlPatterns and value attributes are mutually exclusive.");
5959
return urlPatterns;
6060
}
6161
return value;

spring-boot/src/main/java/org/springframework/boot/web/servlet/ServletComponentRegisteringPostProcessor.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ class ServletComponentRegisteringPostProcessor
4646
private static final List<ServletComponentHandler> HANDLERS;
4747

4848
static {
49-
List<ServletComponentHandler> handers = new ArrayList<ServletComponentHandler>();
50-
handers.add(new WebServletHandler());
51-
handers.add(new WebFilterHandler());
52-
handers.add(new WebListenerHandler());
53-
HANDLERS = Collections.unmodifiableList(handers);
49+
List<ServletComponentHandler> handlers = new ArrayList<ServletComponentHandler>();
50+
handlers.add(new WebServletHandler());
51+
handlers.add(new WebFilterHandler());
52+
handlers.add(new WebListenerHandler());
53+
HANDLERS = Collections.unmodifiableList(handlers);
5454
}
5555

5656
private final Set<String> packagesToScan;

spring-boot/src/test/java/org/springframework/boot/bind/BindingPreparationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public void testBeanWrapperCreatesNewNestedMaps() throws Exception {
189189
wrapper.setPropertyValue("nested[foo]", new LinkedHashMap<String, Object>());
190190
// But it might equally well be a collection, if nested[foo][0]
191191
wrapper.setPropertyValue("nested[foo]", new ArrayList<Object>());
192-
// Then it would have to be actually bound to get the list to autogrow
192+
// Then it would have to be actually bound to get the list to auto-grow
193193
wrapper.setPropertyValue("nested[foo][0]", "bar");
194194
assertNotNull(wrapper.getPropertyValue("nested[foo][0]"));
195195
}

spring-boot/src/test/java/org/springframework/boot/bind/RelaxedDataBinderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public void testBindRelaxedNestedCamelValue() throws Exception {
243243
}
244244

245245
@Test
246-
public void testBindNestedWithEnviromentStyle() throws Exception {
246+
public void testBindNestedWithEnvironmentStyle() throws Exception {
247247
TargetWithNestedObject target = new TargetWithNestedObject();
248248
bind(target, "nested_foo: bar\n" + "nested_value: 123");
249249
assertEquals(123, target.getNested().getValue());

spring-boot/src/test/java/org/springframework/boot/web/servlet/WebFilterHandlerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public void urlPatternsFromValue() throws IOException {
155155
public void urlPatternsDeclaredTwice() throws IOException {
156156
this.thrown.expect(IllegalStateException.class);
157157
this.thrown.expectMessage(
158-
"The urlPatterns and value attributes are mututally " + "exclusive");
158+
"The urlPatterns and value attributes are mutually exclusive.");
159159
getBeanDefinition(UrlPatternsDeclaredTwiceFilter.class);
160160
}
161161

spring-boot/src/test/java/org/springframework/boot/web/servlet/WebServletHandlerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public void urlMappingsFromValue() throws IOException {
134134
public void urlPatternsDeclaredTwice() throws IOException {
135135
this.thrown.expect(IllegalStateException.class);
136136
this.thrown.expectMessage(
137-
"The urlPatterns and value attributes are mututally " + "exclusive");
137+
"The urlPatterns and value attributes are mutually exclusive.");
138138
getBeanDefinition(UrlPatternsDeclaredTwiceServlet.class);
139139
}
140140

0 commit comments

Comments
 (0)