Fix typos detected by github.com/client9/misspell

(cherry picked from commit be211ceead)
This commit is contained in:
Kazuhiro Sera
2018-08-08 12:26:40 +02:00
committed by Juergen Hoeller
parent eaafcee077
commit a80f4caf37
38 changed files with 57 additions and 50 deletions

View File

@@ -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
*/

View File

@@ -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;
*/
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 {
}
/**
* 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) {