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

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

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.
@@ -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;
@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;