Skip to content

Commit a80f4ca

Browse files
seratchjhoeller
authored andcommitted
Fix typos detected by github.com/client9/misspell
(cherry picked from commit be211ce)
1 parent eaafcee commit a80f4ca

File tree

38 files changed

+57
-50
lines changed

38 files changed

+57
-50
lines changed

spring-aop/src/main/java/org/springframework/aop/support/DynamicMethodMatcherPointcut.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Convenient superclass when we want to force subclasses to
2525
* implement MethodMatcher interface, but subclasses
2626
* will want to be pointcuts. The getClassFilter() method can
27-
* be overriden to customize ClassFilter behaviour as well.
27+
* be overridden to customize ClassFilter behaviour as well.
2828
*
2929
* @author Rod Johnson
3030
*/

spring-aop/src/test/java/org/springframework/aop/aspectj/MethodInvocationProceedingJoinPointTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public void before(Method method, Object[] args, @Nullable Object target) throws
218218
itb.unreliableFileOperation();
219219
}
220220
catch (IOException ex) {
221-
// we don't realy care...
221+
// we don't really care...
222222
}
223223
}
224224

spring-beans/src/main/java/org/springframework/beans/factory/parsing/ComponentDefinition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
* all {@link BeanReference BeanReferences} that are required to validate the configuration of the
5353
* overall logical entity as well as those required to provide full user visualisation of the configuration.
5454
* It is expected that certain {@link BeanReference BeanReferences} will not be important to
55-
* validation or to the user view of the configuration and as such these may be ommitted. A tool may wish to
55+
* validation or to the user view of the configuration and as such these may be omitted. A tool may wish to
5656
* display any additional {@link BeanReference BeanReferences} sourced through the supplied
5757
* {@link BeanDefinition BeanDefinitions} but this is not considered to be a typical case.
5858
*

spring-beans/src/main/java/org/springframework/beans/support/PagedListHolder.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
2929
* PagedListHolder is a simple state holder for handling lists of objects,
3030
* separating them into pages. Page numbering starts with 0.
3131
*
32-
* <p>This is mainly targetted at usage in web UIs. Typically, an instance will be
32+
* <p>This is mainly targeted at usage in web UIs. Typically, an instance will be
3333
* instantiated with a list of beans, put into the session, and exported as model.
3434
* The properties can all be set/get programmatically, but the most common way will
3535
* be data binding, i.e. populating the bean from request parameters. The getters
@@ -52,8 +52,14 @@
5252
@SuppressWarnings("serial")
5353
public class PagedListHolder<E> implements Serializable {
5454

55+
/**
56+
* The default page size.
57+
*/
5558
public static final int DEFAULT_PAGE_SIZE = 10;
5659

60+
/**
61+
* The default maximum number of page links.
62+
*/
5763
public static final int DEFAULT_MAX_LINKED_PAGES = 10;
5864

5965

spring-context-support/src/main/java/org/springframework/scheduling/commonj/ScheduledTimerListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public long getDelay() {
177177
* Set the period between repeated task executions, in milliseconds.
178178
* <p>Default is -1, leading to one-time execution. In case of zero or a
179179
* positive value, the task will be executed repeatedly, with the given
180-
* interval inbetween executions.
180+
* interval in-between executions.
181181
* <p>Note that the semantics of the period value vary between fixed-rate
182182
* and fixed-delay execution.
183183
* <p><b>Note:</b> A period of 0 (for example as fixed delay) <i>is</i>

spring-context-support/src/test/java/org/springframework/validation/beanvalidation2/SpringValidatorAdapterTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public void testWithList() {
168168
@Test // SPR-16177
169169
public void testWithSet() {
170170
Parent parent = new Parent();
171-
parent.setName("Parent whith set");
171+
parent.setName("Parent with set");
172172
parent.getChildSet().addAll(createChildren(parent));
173173

174174
BeanPropertyBindingResult errors = new BeanPropertyBindingResult(parent, "parent");

spring-context-support/src/test/resources/org/springframework/scheduling/quartz/quartz-hsql.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- In your Quartz properties file, you'll need to set
33
-- org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.HSQLDBDelegate
44
--
5-
-- Column lenghts are only suggestions. For names, groups, use at least 40 chars.
5+
-- Column lengths are only suggestions. For names, groups, use at least 40 chars.
66
-- for blobs (VARBINARY) use a size that is sure to meet the needs of the amount of data
77
-- you place in job data maps, etc..
88
--

spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -54,8 +54,8 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life
5454
/**
5555
* Name of the ConversionService bean in the factory.
5656
* If none is supplied, default conversion rules apply.
57-
* @see org.springframework.core.convert.ConversionService
5857
* @since 3.0
58+
* @see org.springframework.core.convert.ConversionService
5959
*/
6060
String CONVERSION_SERVICE_BEAN_NAME = "conversionService";
6161

@@ -197,7 +197,7 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life
197197
* will already have been instantiated before. Use a BeanFactoryPostProcessor
198198
* to intercept the BeanFactory setup process before beans get touched.
199199
* <p>Generally, this internal factory will only be accessible while the context
200-
* is active, that is, inbetween {@link #refresh()} and {@link #close()}.
200+
* is active, that is, in-between {@link #refresh()} and {@link #close()}.
201201
* The {@link #isActive()} flag can be used to check whether the context
202202
* is in an appropriate state.
203203
* @return the underlying bean factory

spring-context/src/main/java/org/springframework/jmx/export/assembler/AbstractReflectiveMBeanInfoAssembler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ protected ModelMBeanAttributeInfo[] getAttributeInfo(Object managedBean, String
339339
/**
340340
* Iterate through all methods on the MBean class and gives subclasses the chance
341341
* to vote on their inclusion. If a particular method corresponds to the accessor
342-
* or mutator of an attribute that is inclued in the managment interface, then
342+
* or mutator of an attribute that is included in the management interface, then
343343
* the corresponding operation is exposed with the &quot;role&quot; descriptor
344344
* field set to the appropriate value.
345345
* @param managedBean the bean instance (might be an AOP proxy)

spring-context/src/main/java/org/springframework/scheduling/concurrent/ScheduledExecutorTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public long getDelay() {
132132
/**
133133
* Set the period between repeated task executions, in milliseconds.
134134
* <p>Default is -1, leading to one-time execution. In case of a positive value,
135-
* the task will be executed repeatedly, with the given interval inbetween executions.
135+
* the task will be executed repeatedly, with the given interval in-between executions.
136136
* <p>Note that the semantics of the period value vary between fixed-rate and
137137
* fixed-delay execution.
138138
* <p><b>Note:</b> A period of 0 (for example as fixed delay) is <i>not</i> supported,

0 commit comments

Comments
 (0)