Browse Source

Fix typos detected by github.com/client9/misspell

(cherry picked from commit be211ceead)
pull/1946/head
Kazuhiro Sera 7 years ago committed by Juergen Hoeller
parent
commit
a80f4caf37
  1. 2
      spring-aop/src/main/java/org/springframework/aop/support/DynamicMethodMatcherPointcut.java
  2. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/MethodInvocationProceedingJoinPointTests.java
  3. 2
      spring-beans/src/main/java/org/springframework/beans/factory/parsing/ComponentDefinition.java
  4. 10
      spring-beans/src/main/java/org/springframework/beans/support/PagedListHolder.java
  5. 2
      spring-context-support/src/main/java/org/springframework/scheduling/commonj/ScheduledTimerListener.java
  6. 2
      spring-context-support/src/test/java/org/springframework/validation/beanvalidation2/SpringValidatorAdapterTests.java
  7. 2
      spring-context-support/src/test/resources/org/springframework/scheduling/quartz/quartz-hsql.sql
  8. 6
      spring-context/src/main/java/org/springframework/context/ConfigurableApplicationContext.java
  9. 2
      spring-context/src/main/java/org/springframework/jmx/export/assembler/AbstractReflectiveMBeanInfoAssembler.java
  10. 2
      spring-context/src/main/java/org/springframework/scheduling/concurrent/ScheduledExecutorTask.java
  11. 2
      spring-context/src/test/java/org/springframework/aop/framework/ProxyFactoryBeanTests.java
  12. 2
      spring-context/src/test/java/org/springframework/context/index/CandidateComponentsTestClassLoader.java
  13. 2
      spring-context/src/test/java/org/springframework/validation/beanvalidation/SpringValidatorAdapterTests.java
  14. 2
      spring-context/src/test/resources/org/springframework/context/access/ContextSingletonBeanFactoryLocatorTests-context.xml
  15. 2
      spring-core/src/main/java/org/springframework/core/io/buffer/DataBuffer.java
  16. 6
      spring-core/src/main/java/org/springframework/core/io/support/LocalizedResourceHelper.java
  17. 2
      spring-jdbc/src/main/java/org/springframework/jdbc/object/BatchSqlUpdate.java
  18. 2
      spring-jms/src/main/java/org/springframework/jms/listener/AbstractPollingMessageListenerContainer.java
  19. 2
      spring-jms/src/main/java/org/springframework/jms/support/destination/BeanFactoryDestinationResolver.java
  20. 2
      spring-oxm/src/main/java/org/springframework/oxm/support/package-info.java
  21. 2
      spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java
  22. 2
      spring-tx/src/main/java/org/springframework/dao/CannotAcquireLockException.java
  23. 2
      spring-web/src/main/java/org/springframework/http/codec/xml/JaxbContextContainer.java
  24. 6
      spring-web/src/main/java/org/springframework/http/converter/protobuf/ExtensionRegistryInitializer.java
  25. 5
      spring-web/src/main/java/org/springframework/web/cors/CorsProcessor.java
  26. 2
      spring-web/src/main/java/org/springframework/web/cors/CorsUtils.java
  27. 2
      spring-web/src/main/java/org/springframework/web/cors/reactive/CorsProcessor.java
  28. 4
      spring-web/src/main/java/org/springframework/web/util/pattern/PatternParseException.java
  29. 2
      spring-web/src/test/java/org/springframework/web/bind/ServletRequestDataBinderTests.java
  30. 2
      spring-web/src/test/java/org/springframework/web/bind/support/WebRequestDataBinderTests.java
  31. 2
      spring-web/src/test/java/org/springframework/web/util/HtmlCharacterEntityReferencesTests.java
  32. 2
      spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc.xsd
  33. 2
      spring-webmvc/src/test/resources/org/springframework/web/context/ref1.xml
  34. 2
      spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/AbstractTransportHandler.java
  35. 6
      src/docs/asciidoc/core/core-databuffer-codec.adoc
  36. 4
      src/docs/asciidoc/web/webmvc-view.adoc
  37. 2
      src/docs/asciidoc/web/webmvc.adoc
  38. 2
      src/test/java/org/springframework/aop/framework/autoproxy/AdvisorAutoProxyCreatorIntegrationTests.java

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

@ -24,7 +24,7 @@ import org.springframework.aop.Pointcut; @@ -24,7 +24,7 @@ import org.springframework.aop.Pointcut;
* Convenient superclass when we want to force subclasses to
* implement MethodMatcher interface, but subclasses
* will want to be pointcuts. The getClassFilter() method can
* be overriden to customize ClassFilter behaviour as well.
* be overridden to customize ClassFilter behaviour as well.
*
* @author Rod Johnson
*/

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

@ -218,7 +218,7 @@ public class MethodInvocationProceedingJoinPointTests { @@ -218,7 +218,7 @@ public class MethodInvocationProceedingJoinPointTests {
itb.unreliableFileOperation();
}
catch (IOException ex) {
// we don't realy care...
// we don't really care...
}
}

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

@ -52,7 +52,7 @@ import org.springframework.beans.factory.config.BeanReference; @@ -52,7 +52,7 @@ import org.springframework.beans.factory.config.BeanReference;
* all {@link BeanReference BeanReferences} that are required to validate the configuration of the
* overall logical entity as well as those required to provide full user visualisation of the configuration.
* It is expected that certain {@link BeanReference BeanReferences} will not be important to
* validation or to the user view of the configuration and as such these may be ommitted. A tool may wish to
* validation or to the user view of the configuration and as such these may be omitted. A tool may wish to
* display any additional {@link BeanReference BeanReferences} sourced through the supplied
* {@link BeanDefinition BeanDefinitions} but this is not considered to be a typical case.
*

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

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -29,7 +29,7 @@ import org.springframework.util.Assert; @@ -29,7 +29,7 @@ import org.springframework.util.Assert;
* PagedListHolder is a simple state holder for handling lists of objects,
* separating them into pages. Page numbering starts with 0.
*
* <p>This is mainly targetted at usage in web UIs. Typically, an instance will be
* <p>This is mainly targeted at usage in web UIs. Typically, an instance will be
* instantiated with a list of beans, put into the session, and exported as model.
* The properties can all be set/get programmatically, but the most common way will
* be data binding, i.e. populating the bean from request parameters. The getters
@ -52,8 +52,14 @@ import org.springframework.util.Assert; @@ -52,8 +52,14 @@ import org.springframework.util.Assert;
@SuppressWarnings("serial")
public class PagedListHolder<E> implements Serializable {
/**
* The default page size.
*/
public static final int DEFAULT_PAGE_SIZE = 10;
/**
* The default maximum number of page links.
*/
public static final int DEFAULT_MAX_LINKED_PAGES = 10;

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

@ -177,7 +177,7 @@ public class ScheduledTimerListener { @@ -177,7 +177,7 @@ public class ScheduledTimerListener {
* Set the period between repeated task executions, in milliseconds.
* <p>Default is -1, leading to one-time execution. In case of zero or a
* positive value, the task will be executed repeatedly, with the given
* interval inbetween executions.
* interval in-between executions.
* <p>Note that the semantics of the period value vary between fixed-rate
* and fixed-delay execution.
* <p><b>Note:</b> A period of 0 (for example as fixed delay) <i>is</i>

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

@ -168,7 +168,7 @@ public class SpringValidatorAdapterTests { @@ -168,7 +168,7 @@ public class SpringValidatorAdapterTests {
@Test // SPR-16177
public void testWithSet() {
Parent parent = new Parent();
parent.setName("Parent whith set");
parent.setName("Parent with set");
parent.getChildSet().addAll(createChildren(parent));
BeanPropertyBindingResult errors = new BeanPropertyBindingResult(parent, "parent");

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

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
-- In your Quartz properties file, you'll need to set
-- org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.HSQLDBDelegate
--
-- Column lenghts are only suggestions. For names, groups, use at least 40 chars.
-- Column lengths are only suggestions. For names, groups, use at least 40 chars.
-- for blobs (VARBINARY) use a size that is sure to meet the needs of the amount of data
-- you place in job data maps, etc..
--

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

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -54,8 +54,8 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life @@ -54,8 +54,8 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life
/**
* Name of the ConversionService bean in the factory.
* If none is supplied, default conversion rules apply.
* @see org.springframework.core.convert.ConversionService
* @since 3.0
* @see org.springframework.core.convert.ConversionService
*/
String CONVERSION_SERVICE_BEAN_NAME = "conversionService";
@ -197,7 +197,7 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life @@ -197,7 +197,7 @@ public interface ConfigurableApplicationContext extends ApplicationContext, Life
* will already have been instantiated before. Use a BeanFactoryPostProcessor
* to intercept the BeanFactory setup process before beans get touched.
* <p>Generally, this internal factory will only be accessible while the context
* is active, that is, inbetween {@link #refresh()} and {@link #close()}.
* is active, that is, in-between {@link #refresh()} and {@link #close()}.
* The {@link #isActive()} flag can be used to check whether the context
* is in an appropriate state.
* @return the underlying bean factory

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

@ -339,7 +339,7 @@ public abstract class AbstractReflectiveMBeanInfoAssembler extends AbstractMBean @@ -339,7 +339,7 @@ public abstract class AbstractReflectiveMBeanInfoAssembler extends AbstractMBean
/**
* Iterate through all methods on the MBean class and gives subclasses the chance
* to vote on their inclusion. If a particular method corresponds to the accessor
* or mutator of an attribute that is inclued in the managment interface, then
* or mutator of an attribute that is included in the management interface, then
* the corresponding operation is exposed with the &quot;role&quot; descriptor
* field set to the appropriate value.
* @param managedBean the bean instance (might be an AOP proxy)

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

@ -132,7 +132,7 @@ public class ScheduledExecutorTask { @@ -132,7 +132,7 @@ public class ScheduledExecutorTask {
/**
* Set the period between repeated task executions, in milliseconds.
* <p>Default is -1, leading to one-time execution. In case of a positive value,
* the task will be executed repeatedly, with the given interval inbetween executions.
* the task will be executed repeatedly, with the given interval in-between executions.
* <p>Note that the semantics of the period value vary between fixed-rate and
* fixed-delay execution.
* <p><b>Note:</b> A period of 0 (for example as fixed delay) is <i>not</i> supported,

2
spring-context/src/test/java/org/springframework/aop/framework/ProxyFactoryBeanTests.java

@ -398,7 +398,7 @@ public class ProxyFactoryBeanTests { @@ -398,7 +398,7 @@ public class ProxyFactoryBeanTests {
config.removeAdvice(debugInterceptor);
it.getSpouse();
// Still invoked wiht old reference
// Still invoked with old reference
assertEquals(2, debugInterceptor.getCount());
// not invoked with new object

2
spring-context/src/test/java/org/springframework/context/index/CandidateComponentsTestClassLoader.java

@ -48,7 +48,7 @@ public class CandidateComponentsTestClassLoader extends ClassLoader { @@ -48,7 +48,7 @@ public class CandidateComponentsTestClassLoader extends ClassLoader {
/**
* Create a test {@link ClassLoader} that creates an index with the
* specifed {@link Resource} instances
* specified {@link Resource} instances
* @param classLoader the classloader to use for all other operations
* @return a test {@link ClassLoader} with an index built based on the
* specified resources.

2
spring-context/src/test/java/org/springframework/validation/beanvalidation/SpringValidatorAdapterTests.java

@ -185,7 +185,7 @@ public class SpringValidatorAdapterTests { @@ -185,7 +185,7 @@ public class SpringValidatorAdapterTests {
@Test // SPR-16177
public void testWithSet() {
Parent parent = new Parent();
parent.setName("Parent whith set");
parent.setName("Parent with set");
parent.getChildSet().addAll(createChildren(parent));
BeanPropertyBindingResult errors = new BeanPropertyBindingResult(parent, "parent");

2
spring-context/src/test/resources/org/springframework/context/access/ContextSingletonBeanFactoryLocatorTests-context.xml

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
<!-- We are only using one definition file for the purposes of this test, since we do not have multiple
classloaders available in the environment to allow combining multiple files of the same name, but
of course the contents within could be spread out across multiple files of the same name withing
of course the contents within could be spread out across multiple files of the same name within
different jars -->
<beans>

2
spring-core/src/main/java/org/springframework/core/io/buffer/DataBuffer.java

@ -192,7 +192,7 @@ public interface DataBuffer { @@ -192,7 +192,7 @@ public interface DataBuffer {
* Write at most {@code length} bytes of the given source into this buffer, starting
* at the current writing position of this buffer.
* @param source the bytes to be written into this buffer
* @param offset the index withing {@code source} to start writing from
* @param offset the index within {@code source} to start writing from
* @param length the maximum number of bytes to be written from {@code source}
* @return this buffer
*/

6
spring-core/src/main/java/org/springframework/core/io/support/LocalizedResourceHelper.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -33,7 +33,7 @@ import org.springframework.util.Assert; @@ -33,7 +33,7 @@ import org.springframework.util.Assert;
*/
public class LocalizedResourceHelper {
/** The default separator to use inbetween file name parts: an underscore */
/** The default separator to use in-between file name parts: an underscore. */
public static final String DEFAULT_SEPARATOR = "_";
@ -60,7 +60,7 @@ public class LocalizedResourceHelper { @@ -60,7 +60,7 @@ public class LocalizedResourceHelper {
}
/**
* Set the separator to use inbetween file name parts.
* Set the separator to use in-between file name parts.
* Default is an underscore ("_").
*/
public void setSeparator(@Nullable String separator) {

2
spring-jdbc/src/main/java/org/springframework/jdbc/object/BatchSqlUpdate.java

@ -47,7 +47,7 @@ import org.springframework.jdbc.core.BatchPreparedStatementSetter; @@ -47,7 +47,7 @@ import org.springframework.jdbc.core.BatchPreparedStatementSetter;
public class BatchSqlUpdate extends SqlUpdate {
/**
* Default number of inserts to accumulate before commiting a batch (5000).
* Default number of inserts to accumulate before committing a batch (5000).
*/
public static final int DEFAULT_BATCH_SIZE = 5000;

2
spring-jms/src/main/java/org/springframework/jms/listener/AbstractPollingMessageListenerContainer.java

@ -59,7 +59,7 @@ import org.springframework.util.Assert; @@ -59,7 +59,7 @@ import org.springframework.util.Assert;
* {@link org.springframework.transaction.PlatformTransactionManager} into the
* {@link #setTransactionManager "transactionManager"} property. This will usually
* be a {@link org.springframework.transaction.jta.JtaTransactionManager} in a
* Java EE enviroment, in combination with a JTA-aware JMS ConnectionFactory
* Java EE environment, in combination with a JTA-aware JMS ConnectionFactory
* obtained from JNDI (check your application server's documentation).
*
* <p>This base class does not assume any specific mechanism for asynchronous

2
spring-jms/src/main/java/org/springframework/jms/support/destination/BeanFactoryDestinationResolver.java

@ -81,7 +81,7 @@ public class BeanFactoryDestinationResolver implements DestinationResolver, Bean @@ -81,7 +81,7 @@ public class BeanFactoryDestinationResolver implements DestinationResolver, Bean
}
catch (BeansException ex) {
throw new DestinationResolutionException(
"Failed to look up Destinaton bean with name '" + destinationName + "'", ex);
"Failed to look up Destination bean with name '" + destinationName + "'", ex);
}
}

2
spring-oxm/src/main/java/org/springframework/oxm/support/package-info.java

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
/**
* Provides generic support classes for using Spring's O/X Mapping integration
* within various scenario's. Includes the MarshallingSource for compatibility
* with TrAX, MarshallingView for use withing Spring Web MVC, and the
* with TrAX, MarshallingView for use within Spring Web MVC, and the
* MarshallingMessageConverter for use within Spring's JMS support.
*/
@NonNullApi

2
spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java

@ -197,7 +197,7 @@ public interface WebTestClient { @@ -197,7 +197,7 @@ public interface WebTestClient {
* without an HTTP server using a mock request and response.
* <p>Consider using the TestContext framework and
* {@link org.springframework.test.context.ContextConfiguration @ContextConfiguration}
* in order to efficently load and inject the Spring configuration into the
* in order to efficiently load and inject the Spring configuration into the
* test class.
* @param applicationContext the Spring context
* @return chained API to customize server and client config; use

2
spring-tx/src/main/java/org/springframework/dao/CannotAcquireLockException.java

@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
package org.springframework.dao;
/**
* Exception thrown on failure to aquire a lock during an update,
* Exception thrown on failure to acquire a lock during an update,
* for example during a "select for update" statement.
*
* @author Rod Johnson

2
spring-web/src/main/java/org/springframework/http/codec/xml/JaxbContextContainer.java

@ -26,7 +26,7 @@ import javax.xml.bind.Unmarshaller; @@ -26,7 +26,7 @@ import javax.xml.bind.Unmarshaller;
import org.springframework.util.Assert;
/**
* Holder for {@link JAXBContext} isntances.
* Holder for {@link JAXBContext} instances.
*
* @author Arjen Poutsma
* @since 5.0

6
spring-web/src/main/java/org/springframework/http/converter/protobuf/ExtensionRegistryInitializer.java

@ -1,11 +1,11 @@ @@ -1,11 +1,11 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@ -32,7 +32,7 @@ import com.google.protobuf.ExtensionRegistry; @@ -32,7 +32,7 @@ import com.google.protobuf.ExtensionRegistry;
public interface ExtensionRegistryInitializer {
/**
* Initializes the {@code ExtensionRegistry} with Protocol Message extensions
* Initializes the {@code ExtensionRegistry} with Protocol Message extensions.
* @param registry the registry to populate
*/
void initializeExtensionRegistry(ExtensionRegistry registry);

5
spring-web/src/main/java/org/springframework/web/cors/CorsProcessor.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2015 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -17,7 +17,6 @@ @@ -17,7 +17,6 @@
package org.springframework.web.cors;
import java.io.IOException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@ -35,7 +34,7 @@ import org.springframework.lang.Nullable; @@ -35,7 +34,7 @@ import org.springframework.lang.Nullable;
* @author Sebastien Deleuze
* @author Rossen Stoyanchev
* @since 4.2
* @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommandation</a>
* @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
* @see org.springframework.web.servlet.handler.AbstractHandlerMapping#setCorsProcessor
*/
public interface CorsProcessor {

2
spring-web/src/main/java/org/springframework/web/cors/CorsUtils.java

@ -23,7 +23,7 @@ import org.springframework.http.HttpMethod; @@ -23,7 +23,7 @@ import org.springframework.http.HttpMethod;
/**
* Utility class for CORS request handling based on the
* <a href="http://www.w3.org/TR/cors/">CORS W3C recommandation</a>.
* <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>.
*
* @author Sebastien Deleuze
* @since 4.2

2
spring-web/src/main/java/org/springframework/web/cors/reactive/CorsProcessor.java

@ -28,7 +28,7 @@ import org.springframework.web.server.ServerWebExchange; @@ -28,7 +28,7 @@ import org.springframework.web.server.ServerWebExchange;
* @author Sebastien Deleuze
* @author Rossen Stoyanchev
* @since 5.0
* @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommandation</a>
* @see <a href="http://www.w3.org/TR/cors/">CORS W3C recommendation</a>
*/
public interface CorsProcessor {

4
spring-web/src/main/java/org/springframework/web/util/pattern/PatternParseException.java

@ -95,7 +95,7 @@ public class PatternParseException extends IllegalArgumentException { @@ -95,7 +95,7 @@ public class PatternParseException extends IllegalArgumentException {
public enum PatternMessage {
MISSING_CLOSE_CAPTURE("Expected close capture character after variable name '}'"),
MISSING_OPEN_CAPTURE("Missing preceeding open capture character before variable name'{'"),
MISSING_OPEN_CAPTURE("Missing preceding open capture character before variable name'{'"),
ILLEGAL_NESTED_CAPTURE("Not allowed to nest variable captures"),
CANNOT_HAVE_ADJACENT_CAPTURES("Adjacent captures are not allowed"),
ILLEGAL_CHARACTER_AT_START_OF_CAPTURE_DESCRIPTOR("Char ''{0}'' not allowed at start of captured variable name"),
@ -105,7 +105,7 @@ public class PatternParseException extends IllegalArgumentException { @@ -105,7 +105,7 @@ public class PatternParseException extends IllegalArgumentException {
MISSING_REGEX_CONSTRAINT("Missing regex constraint on capture"),
ILLEGAL_DOUBLE_CAPTURE("Not allowed to capture ''{0}'' twice in the same pattern"),
REGEX_PATTERN_SYNTAX_EXCEPTION("Exception occurred in regex pattern compilation"),
CAPTURE_ALL_IS_STANDALONE_CONSTRUCT("'{*...}' can only be preceeded by a path separator");
CAPTURE_ALL_IS_STANDALONE_CONSTRUCT("'{*...}' can only be preceded by a path separator");
private final String message;

2
spring-web/src/test/java/org/springframework/web/bind/ServletRequestDataBinderTests.java

@ -204,7 +204,7 @@ public class ServletRequestDataBinderTests { @@ -204,7 +204,7 @@ public class ServletRequestDataBinderTests {
request.addParameter("test_age", "" + 50);
ServletRequestParameterPropertyValues pvs = new ServletRequestParameterPropertyValues(request);
assertTrue("Didn't fidn normal when given prefix", !pvs.contains("forname"));
assertTrue("Didn't find normal when given prefix", !pvs.contains("forname"));
assertTrue("Did treat prefix as normal when not given prefix", pvs.contains("test_forname"));
pvs = new ServletRequestParameterPropertyValues(request, "test");

2
spring-web/src/test/java/org/springframework/web/bind/support/WebRequestDataBinderTests.java

@ -301,7 +301,7 @@ public class WebRequestDataBinderTests { @@ -301,7 +301,7 @@ public class WebRequestDataBinderTests {
request.addParameter("test_age", "" + 50);
ServletRequestParameterPropertyValues pvs = new ServletRequestParameterPropertyValues(request);
assertTrue("Didn't fidn normal when given prefix", !pvs.contains("forname"));
assertTrue("Didn't find normal when given prefix", !pvs.contains("forname"));
assertTrue("Did treat prefix as normal when not given prefix", pvs.contains("test_forname"));
pvs = new ServletRequestParameterPropertyValues(request, "test");

2
spring-web/src/test/java/org/springframework/web/util/HtmlCharacterEntityReferencesTests.java

@ -156,7 +156,7 @@ public class HtmlCharacterEntityReferencesTests { @@ -156,7 +156,7 @@ public class HtmlCharacterEntityReferencesTests {
return false;
}
catch (IOException ex) {
throw new IllegalStateException("Could not parse defintion resource: " + ex.getMessage());
throw new IllegalStateException("Could not parse definition resource: " + ex.getMessage());
}
}

2
spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc.xsd

@ -1119,7 +1119,7 @@ @@ -1119,7 +1119,7 @@
<xsd:annotation>
<xsd:documentation><![CDATA[
The location of a file containing Tiles definitions (or a Spring resource pattern).
If no Tiles definitions are registerd, then "/WEB-INF/tiles.xml" is expected to exists.
If no Tiles definitions are registered, then "/WEB-INF/tiles.xml" is expected to exists.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>

2
spring-webmvc/src/test/resources/org/springframework/web/context/ref1.xml

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
<!-- We are only using one definition file for the purposes of this test, since we do not have multiple
classloaders available in the environment to allow combining multiple files of the same name, but
of course the contents within could be spread out across multiple files of the same name withing
of course the contents within could be spread out across multiple files of the same name within
different jars -->
<beans>

2
spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/handler/AbstractTransportHandler.java

@ -25,7 +25,7 @@ import org.springframework.web.socket.sockjs.transport.SockJsServiceConfig; @@ -25,7 +25,7 @@ import org.springframework.web.socket.sockjs.transport.SockJsServiceConfig;
import org.springframework.web.socket.sockjs.transport.TransportHandler;
/**
* Common base class for {@link TransportHandler} inplementations.
* Common base class for {@link TransportHandler} implementations.
*
* @author Rossen Stoyanchev
* @since 4.0

6
src/docs/asciidoc/core/core-databuffer-codec.adoc

@ -43,6 +43,8 @@ This is different from the JDK's `ByteBuffer`, which only exposes one position f @@ -43,6 +43,8 @@ This is different from the JDK's `ByteBuffer`, which only exposes one position f
writing, and a separate `flip()` operation to switch between the two I/O operations.
In general, the following invariant holds for the read position, write position, and the capacity:
[literal]
[subs="verbatim,quotes"]
--
0 <= read position <= write position <= capacity
--
@ -94,7 +96,7 @@ In practice, this means that the reserved memory captured by the buffer will be @@ -94,7 +96,7 @@ In practice, this means that the reserved memory captured by the buffer will be
the memory pool, ready to be used for future allocations.
In general, _the last component to access a `DataBuffer` is responsible for releasing it_.
Withing Spring, there are two sorts of components that release buffers: decoders and transports.
Within Spring, there are two sorts of components that release buffers: decoders and transports.
Decoders are responsible for transforming a stream of buffers into other types (see <<codecs>> below),
and transports are responsible for sending buffers across a network boundary, typically as an HTTP message.
This means that if you allocate data buffers for the purpose of putting them into an outbound HTTP
@ -165,7 +167,7 @@ Note that a decoder instance needs to consider <<databuffer-reference-counting, @@ -165,7 +167,7 @@ Note that a decoder instance needs to consider <<databuffer-reference-counting,
Spring comes with a wide array of default codecs, capable of converting from/to `String`,
`ByteBuffer`, byte arrays, and also codecs that support marshalling libraries such as JAXB and
Jackson (with https://github.com/FasterXML/jackson-core/issues/57[Jackson 2.9+ support for non-blocking parsing]).
Withing the context of Spring WebFlux, codecs are used to convert the request body into a
Within the context of Spring WebFlux, codecs are used to convert the request body into a
`@RequestMapping` parameter, or to convert the return type into the response body that is sent back
to the client.
The default codecs are configured in the `WebFluxConfigurationSupport` class, and can easily be

4
src/docs/asciidoc/web/webmvc-view.adoc

@ -461,7 +461,7 @@ integration for using Spring MVC with Groovy Markup. @@ -461,7 +461,7 @@ integration for using Spring MVC with Groovy Markup.
[TIP]
====
The Groovy Markup Tempalte engine requires Groovy 2.3.1+.
The Groovy Markup Template engine requires Groovy 2.3.1+.
====
@ -2217,4 +2217,4 @@ This is rendered as: @@ -2217,4 +2217,4 @@ This is rendered as:
</ul>
</body>
</html>
----
----

2
src/docs/asciidoc/web/webmvc.adoc

@ -3870,7 +3870,7 @@ for optimal performance. See section on configuring <<mvc-config-static-resource @@ -3870,7 +3870,7 @@ for optimal performance. See section on configuring <<mvc-config-static-resource
=== ETag Filter
The `ShallowEtagHeaderFilter` can be used to add "shallow" eTag values, computed from the
response content and thus saving bandwith but not CPU time. See <<filters-shallow-etag>>.
response content and thus saving bandwidth but not CPU time. See <<filters-shallow-etag>>.

2
src/test/java/org/springframework/aop/framework/autoproxy/AdvisorAutoProxyCreatorIntegrationTests.java

@ -43,7 +43,7 @@ import org.springframework.transaction.interceptor.TransactionInterceptor; @@ -43,7 +43,7 @@ import org.springframework.transaction.interceptor.TransactionInterceptor;
/**
* Integration tests for auto proxy creation by advisor recognition working in
* conjunction with transaction managment resources.
* conjunction with transaction management resources.
*
* @see org.springframework.aop.framework.autoproxy.AdvisorAutoProxyCreatorTests
*

Loading…
Cancel
Save