Merge pull request #418 from ericdahl/doc-typos

* doc-typos:
  Fix various typos
This commit is contained in:
Phillip Webb 2013-11-25 15:59:28 -08:00
commit e6952f41b7
37 changed files with 55 additions and 55 deletions

View File

@ -67,7 +67,7 @@ public class DelegatePerTargetObjectIntroductionInterceptor extends Introduction
public DelegatePerTargetObjectIntroductionInterceptor(Class<?> defaultImplType, Class<?> interfaceType) { public DelegatePerTargetObjectIntroductionInterceptor(Class<?> defaultImplType, Class<?> interfaceType) {
this.defaultImplType = defaultImplType; this.defaultImplType = defaultImplType;
this.interfaceType = interfaceType; this.interfaceType = interfaceType;
// cCeate a new delegate now (but don't store it in the map). // Create a new delegate now (but don't store it in the map).
// We do this for two reasons: // We do this for two reasons:
// 1) to fail early if there is a problem instantiating delegates // 1) to fail early if there is a problem instantiating delegates
// 2) to populate the interface map once and once only // 2) to populate the interface map once and once only

View File

@ -36,7 +36,7 @@ import org.springframework.beans.factory.config.BeanDefinitionHolder;
* it encounters a custom tag directly under a {@code &lt;bean&gt;} tag. * it encounters a custom tag directly under a {@code &lt;bean&gt;} tag.
* *
* <p>Developers writing their own custom element extensions typically will * <p>Developers writing their own custom element extensions typically will
* not implement this interface drectly, but rather make use of the provided * not implement this interface directly, but rather make use of the provided
* {@link NamespaceHandlerSupport} class. * {@link NamespaceHandlerSupport} class.
* *
* @author Rob Harrop * @author Rob Harrop

View File

@ -585,7 +585,7 @@ final class Frame {
} }
// pushes the type on the output stack // pushes the type on the output stack
outputStack[outputStackTop++] = type; outputStack[outputStackTop++] = type;
// updates the maximun height reached by the output stack, if needed // updates the maximum height reached by the output stack, if needed
int top = owner.inputStackTop + outputStackTop; int top = owner.inputStackTop + outputStackTop;
if (top > owner.outputStackMax) { if (top > owner.outputStackMax) {
owner.outputStackMax = top; owner.outputStackMax = top;

View File

@ -276,7 +276,7 @@ public class AutoPopulatingList<E> implements List<E>, Serializable {
private final Class<? extends E> elementClass; private final Class<? extends E> elementClass;
public ReflectiveElementFactory(Class<? extends E> elementClass) { public ReflectiveElementFactory(Class<? extends E> elementClass) {
Assert.notNull(elementClass, "Element clas must not be null"); Assert.notNull(elementClass, "Element class must not be null");
Assert.isTrue(!elementClass.isInterface(), "Element class must not be an interface type"); Assert.isTrue(!elementClass.isInterface(), "Element class must not be an interface type");
Assert.isTrue(!Modifier.isAbstract(elementClass.getModifiers()), "Element class cannot be an abstract class"); Assert.isTrue(!Modifier.isAbstract(elementClass.getModifiers()), "Element class cannot be an abstract class");
this.elementClass = elementClass; this.elementClass = elementClass;

View File

@ -68,7 +68,7 @@ public class CompositeIterator<E> implements Iterator<E> {
return iterator.next(); return iterator.next();
} }
} }
throw new NoSuchElementException("Exhaused all iterators"); throw new NoSuchElementException("Exhausted all iterators");
} }
@Override @Override

View File

@ -208,7 +208,7 @@ public abstract class StringUtils {
/** /**
* Trim <i>all</i> whitespace from the given String: * Trim <i>all</i> whitespace from the given String:
* leading, trailing, and inbetween characters. * leading, trailing, and in between characters.
* @param str the String to check * @param str the String to check
* @return the trimmed String * @return the trimmed String
* @see java.lang.Character#isWhitespace * @see java.lang.Character#isWhitespace
@ -265,7 +265,7 @@ public abstract class StringUtils {
} }
/** /**
* Trim all occurences of the supplied leading character from the given String. * Trim all occurrences of the supplied leading character from the given String.
* @param str the String to check * @param str the String to check
* @param leadingCharacter the leading character to be trimmed * @param leadingCharacter the leading character to be trimmed
* @return the trimmed String * @return the trimmed String
@ -282,7 +282,7 @@ public abstract class StringUtils {
} }
/** /**
* Trim all occurences of the supplied trailing character from the given String. * Trim all occurrences of the supplied trailing character from the given String.
* @param str the String to check * @param str the String to check
* @param trailingCharacter the trailing character to be trimmed * @param trailingCharacter the trailing character to be trimmed
* @return the trimmed String * @return the trimmed String
@ -381,7 +381,7 @@ public abstract class StringUtils {
} }
/** /**
* Replace all occurences of a substring within a string with * Replace all occurrences of a substring within a string with
* another string. * another string.
* @param inString String to examine * @param inString String to examine
* @param oldPattern String to replace * @param oldPattern String to replace

View File

@ -41,7 +41,7 @@ public interface CallMetaDataProvider {
/** /**
* Initialize the database specific management of procedure column meta data. * Initialize the database specific management of procedure column meta data.
* This is only called for databases that are supported. This initalization * This is only called for databases that are supported. This initialization
* can be turned off by specifying that column meta data should not be used. * can be turned off by specifying that column meta data should not be used.
* @param databaseMetaData used to retrieve database specific information * @param databaseMetaData used to retrieve database specific information
* @param catalogName name of catalog to use or null * @param catalogName name of catalog to use or null

View File

@ -61,9 +61,9 @@ public class CallMetaDataProviderFactory {
); );
/** /**
* Create a CallMetaDataProvider based on the database metedata * Create a CallMetaDataProvider based on the database metadata
* @param dataSource used to retrieve metedata * @param dataSource used to retrieve metadata
* @param context the class that holds configuration and metedata * @param context the class that holds configuration and metadata
* @return instance of the CallMetaDataProvider implementation to be used * @return instance of the CallMetaDataProvider implementation to be used
*/ */
static public CallMetaDataProvider createMetaDataProvider(DataSource dataSource, final CallMetaDataContext context) { static public CallMetaDataProvider createMetaDataProvider(DataSource dataSource, final CallMetaDataContext context) {

View File

@ -340,7 +340,7 @@ public class GenericTableMetaDataProvider implements TableMetaDataProvider {
try { try {
tables.close(); tables.close();
} catch (SQLException e) { } catch (SQLException e) {
logger.warn("Error while closing table meta data reults" + e.getMessage()); logger.warn("Error while closing table meta data results" + e.getMessage());
} }
} }
} }
@ -379,7 +379,7 @@ public class GenericTableMetaDataProvider implements TableMetaDataProvider {
} }
/** /**
* Method supporting the metedata processing for a table's columns * Method supporting the metadata processing for a table's columns
*/ */
private void processTableColumns(DatabaseMetaData databaseMetaData, TableMetaData tmd) { private void processTableColumns(DatabaseMetaData databaseMetaData, TableMetaData tmd) {
ResultSet tableColumns = null; ResultSet tableColumns = null;

View File

@ -70,7 +70,7 @@ public class ParsedSql {
/** /**
* Return all of the parameters (bind variables) in the parsed SQL statement. * Return all of the parameters (bind variables) in the parsed SQL statement.
* Repeated occurences of the same parameter name are included here. * Repeated occurrences of the same parameter name are included here.
*/ */
List<String> getParameterNames() { List<String> getParameterNames() {
return this.parameterNames; return this.parameterNames;
@ -89,7 +89,7 @@ public class ParsedSql {
/** /**
* Set the count of named parameters in the SQL statement. * Set the count of named parameters in the SQL statement.
* Each parameter name counts once; repeated occurences do not count here. * Each parameter name counts once; repeated occurrences do not count here.
*/ */
void setNamedParameterCount(int namedParameterCount) { void setNamedParameterCount(int namedParameterCount) {
this.namedParameterCount = namedParameterCount; this.namedParameterCount = namedParameterCount;
@ -97,7 +97,7 @@ public class ParsedSql {
/** /**
* Return the count of named parameters in the SQL statement. * Return the count of named parameters in the SQL statement.
* Each parameter name counts once; repeated occurences do not count here. * Each parameter name counts once; repeated occurrences do not count here.
*/ */
int getNamedParameterCount() { int getNamedParameterCount() {
return this.namedParameterCount; return this.namedParameterCount;
@ -119,7 +119,7 @@ public class ParsedSql {
/** /**
* Set the total count of all of the parameters in the SQL statement. * Set the total count of all of the parameters in the SQL statement.
* Repeated occurences of the same parameter name do count here. * Repeated occurrences of the same parameter name do count here.
*/ */
void setTotalParameterCount(int totalParameterCount) { void setTotalParameterCount(int totalParameterCount) {
this.totalParameterCount = totalParameterCount; this.totalParameterCount = totalParameterCount;
@ -127,7 +127,7 @@ public class ParsedSql {
/** /**
* Return the total count of all of the parameters in the SQL statement. * Return the total count of all of the parameters in the SQL statement.
* Repeated occurences of the same parameter name do count here. * Repeated occurrences of the same parameter name do count here.
*/ */
int getTotalParameterCount() { int getTotalParameterCount() {
return this.totalParameterCount; return this.totalParameterCount;

View File

@ -311,7 +311,7 @@ public abstract class AbstractJdbcInsert {
} }
/** /**
* Method to check whether we are allowd to make any configuration changes at this time. * Method to check whether we are allowed to make any configuration changes at this time.
* If the class has been compiled, then no further changes to the configuration are allowed. * If the class has been compiled, then no further changes to the configuration are allowed.
*/ */
protected void checkIfConfigurationModificationIsAllowed() { protected void checkIfConfigurationModificationIsAllowed() {
@ -450,12 +450,12 @@ public abstract class AbstractJdbcInsert {
"The getGeneratedKeys feature is not supported by this database"); "The getGeneratedKeys feature is not supported by this database");
} }
if (getGeneratedKeyNames().length < 1) { if (getGeneratedKeyNames().length < 1) {
throw new InvalidDataAccessApiUsageException("Generated Key Name(s) not specificed. " + throw new InvalidDataAccessApiUsageException("Generated Key Name(s) not specified. " +
"Using the generated keys features requires specifying the name(s) of the generated column(s)"); "Using the generated keys features requires specifying the name(s) of the generated column(s)");
} }
if (getGeneratedKeyNames().length > 1) { if (getGeneratedKeyNames().length > 1) {
throw new InvalidDataAccessApiUsageException( throw new InvalidDataAccessApiUsageException(
"Current database only supports retreiving the key for a single column. There are " + "Current database only supports retrieving the key for a single column. There are " +
getGeneratedKeyNames().length + " columns specified: " + Arrays.asList(getGeneratedKeyNames())); getGeneratedKeyNames().length + " columns specified: " + Arrays.asList(getGeneratedKeyNames()));
} }
// This is a hack to be able to get the generated key from a database that doesn't support // This is a hack to be able to get the generated key from a database that doesn't support
@ -615,9 +615,9 @@ public abstract class AbstractJdbcInsert {
} }
/** /**
* Match the provided in parameter values with regitered parameters and parameters defined * Match the provided in parameter values with registered parameters and parameters defined
* via metadata processing. * via metadata processing.
* @param parameterSource the parameter vakues provided as a {@link SqlParameterSource} * @param parameterSource the parameter values provided as a {@link SqlParameterSource}
* @return Map with parameter names and values * @return Map with parameter names and values
*/ */
protected List<Object> matchInParameterValuesWithInsertColumns(SqlParameterSource parameterSource) { protected List<Object> matchInParameterValuesWithInsertColumns(SqlParameterSource parameterSource) {

View File

@ -40,7 +40,7 @@ public interface SimpleJdbcInsertOperations {
SimpleJdbcInsertOperations withTableName(String tableName); SimpleJdbcInsertOperations withTableName(String tableName);
/** /**
* Specify the shema name, if any, to be used for the insert. * Specify the schema name, if any, to be used for the insert.
* @param schemaName the name of the schema * @param schemaName the name of the schema
* @return the instance of this SimpleJdbcInsert * @return the instance of this SimpleJdbcInsert
*/ */

View File

@ -42,7 +42,7 @@ import org.springframework.transaction.support.TransactionSynchronizationUtils;
* *
* <p>This listener container variant is built for repeated polling attempts, * <p>This listener container variant is built for repeated polling attempts,
* each invoking the {@link #receiveAndExecute} method. The MessageConsumer used * each invoking the {@link #receiveAndExecute} method. The MessageConsumer used
* may be reobtained fo reach attempt or cached inbetween attempts; this is up * may be reobtained fo reach attempt or cached in between attempts; this is up
* to the concrete implementation. The receive timeout for each attempt can be * to the concrete implementation. The receive timeout for each attempt can be
* configured through the {@link #setReceiveTimeout "receiveTimeout"} property. * configured through the {@link #setReceiveTimeout "receiveTimeout"} property.
* *

View File

@ -83,7 +83,7 @@ public class SimpleBrokerMessageHandler extends AbstractBrokerMessageHandler {
if (!checkDestinationPrefix(destination)) { if (!checkDestinationPrefix(destination)) {
if (logger.isTraceEnabled()) { if (logger.isTraceEnabled()) {
logger.trace("Ingoring message to destination=" + destination); logger.trace("Ignoring message to destination=" + destination);
} }
return; return;
} }

View File

@ -782,7 +782,7 @@ public class XStreamMarshaller extends AbstractMarshaller implements Initializin
* {@code org.springframework.oxm} hierarchy. * {@code org.springframework.oxm} hierarchy.
* <p>A boolean flag is used to indicate whether this exception occurs during marshalling or * <p>A boolean flag is used to indicate whether this exception occurs during marshalling or
* unmarshalling, since XStream itself does not make this distinction in its exception hierarchy. * unmarshalling, since XStream itself does not make this distinction in its exception hierarchy.
* @param ex XStream exception that occured * @param ex XStream exception that occurred
* @param marshalling indicates whether the exception occurs during marshalling ({@code true}), * @param marshalling indicates whether the exception occurs during marshalling ({@code true}),
* or unmarshalling ({@code false}) * or unmarshalling ({@code false})
* @return the corresponding {@code XmlMappingException} * @return the corresponding {@code XmlMappingException}

View File

@ -55,7 +55,7 @@ public interface CallableProcessingInterceptor {
* <p> * <p>
* This is useful for capturing the state of the current thread just prior to * This is useful for capturing the state of the current thread just prior to
* invoking the {@link Callable}. Once the state is captured, it can then be * invoking the {@link Callable}. Once the state is captured, it can then be
* transfered to the new {@link Thread} in * transferred to the new {@link Thread} in
* {@link #preProcess(NativeWebRequest, Callable)}. Capturing the state of * {@link #preProcess(NativeWebRequest, Callable)}. Capturing the state of
* Spring Security's SecurityContextHolder and migrating it to the new Thread * Spring Security's SecurityContextHolder and migrating it to the new Thread
* is a concrete example of where this is useful. * is a concrete example of where this is useful.

View File

@ -48,7 +48,7 @@ public class ServletContextAwareProcessor implements BeanPostProcessor {
/** /**
* Create a new ServletContextAwareProcessor without an initial context or config. * Create a new ServletContextAwareProcessor without an initial context or config.
* When this constructor is used the {@link #getServletContext()} and/or * When this constructor is used the {@link #getServletContext()} and/or
* {@link #getServletConfig()} methods should be overriden. * {@link #getServletConfig()} methods should be overridden.
*/ */
protected ServletContextAwareProcessor() { protected ServletContextAwareProcessor() {
} }

View File

@ -41,7 +41,7 @@ import org.springframework.web.util.WebUtils;
* should be involved in async dispatches. However, in some cases servlet * should be involved in async dispatches. However, in some cases servlet
* containers assume different default configuration. Therefore sub-classes can * containers assume different default configuration. Therefore sub-classes can
* override the method {@link #shouldNotFilterAsyncDispatch()} to declare * override the method {@link #shouldNotFilterAsyncDispatch()} to declare
* statically if they shouuld indeed be invoked, <em>once</em>, during both types * statically if they should indeed be invoked, <em>once</em>, during both types
* of dispatches in order to provide thread initialization, logging, security, * of dispatches in order to provide thread initialization, logging, security,
* and so on. This mechanism complements and does not replace the need to * and so on. This mechanism complements and does not replace the need to
* configure a filter in {@code web.xml} with dispatcher types. * configure a filter in {@code web.xml} with dispatcher types.

View File

@ -115,7 +115,7 @@ public abstract class DecoratingNavigationHandler extends NavigationHandler {
* <p>If no decorated NavigationHandler specified as constructor argument, * <p>If no decorated NavigationHandler specified as constructor argument,
* this instance is the last element in the chain. Hence, this method will * this instance is the last element in the chain. Hence, this method will
* call the original NavigationHandler as passed into this method. If no * call the original NavigationHandler as passed into this method. If no
* original NavigantionHandler has been passed in (for example if this * original NavigationHandler has been passed in (for example if this
* instance is the last element in a chain with standard NavigationHandlers * instance is the last element in a chain with standard NavigationHandlers
* as earlier elements), this method corresponds to a no-op. * as earlier elements), this method corresponds to a no-op.
* @param facesContext the current JSF context * @param facesContext the current JSF context

View File

@ -25,7 +25,7 @@ import javax.servlet.ServletContextListener;
* parameter at the servlet context level (i.e. context-param in web.xml), * parameter at the servlet context level (i.e. context-param in web.xml),
* the default key is "webapp.root". * the default key is "webapp.root".
* *
* <p>Can be used for toolkits that support substition with system properties * <p>Can be used for toolkits that support substitution with system properties
* (i.e. System.getProperty values), like log4j's "${key}" syntax within log * (i.e. System.getProperty values), like log4j's "${key}" syntax within log
* file locations. * file locations.
* *

View File

@ -295,7 +295,7 @@ public class ResourceServlet extends HttpServletBean {
* to allow for message resolution etc that influences JSP contents, * to allow for message resolution etc that influences JSP contents,
* assuming that those background resources might have changed on restart. * assuming that those background resources might have changed on restart.
* <p>Returns the startup time of this servlet if the file that corresponds * <p>Returns the startup time of this servlet if the file that corresponds
* to the target resource URL coudln't be resolved (for example, because * to the target resource URL couldn't be resolved (for example, because
* the WAR is not expanded). * the WAR is not expanded).
* @see #determineResourceUrl * @see #determineResourceUrl
* @see #getFileTimestamp * @see #getFileTimestamp

View File

@ -189,7 +189,7 @@ public abstract class AbstractHandlerExceptionResolver implements HandlerExcepti
} }
/** /**
* Build a log message for the given exception, occured during processing the given request. * Build a log message for the given exception, occurred during processing the given request.
* @param ex the exception that got thrown during handler execution * @param ex the exception that got thrown during handler execution
* @param request current HTTP request (useful for obtaining metadata) * @param request current HTTP request (useful for obtaining metadata)
* @return the log message to use * @return the log message to use

View File

@ -513,7 +513,7 @@ public class AnnotationMethodHandlerAdapter extends WebContentGenerator
} }
/** /**
* Template method for creating a new HttpOuputMessage instance. * Template method for creating a new HttpOutputMessage instance.
* <p>The default implementation creates a standard {@link ServletServerHttpResponse}. * <p>The default implementation creates a standard {@link ServletServerHttpResponse}.
* This can be overridden for custom {@code HttpOutputMessage} implementations * This can be overridden for custom {@code HttpOutputMessage} implementations
* @param servletResponse current HTTP response * @param servletResponse current HTTP response
@ -1197,7 +1197,7 @@ public class AnnotationMethodHandlerAdapter extends WebContentGenerator
* sorting a list with this comparator will result in: * sorting a list with this comparator will result in:
* <ul> * <ul>
* <li>RHIs with {@linkplain AnnotationMethodHandlerAdapter.RequestSpecificMappingInfo#matchedPatterns better matched paths} * <li>RHIs with {@linkplain AnnotationMethodHandlerAdapter.RequestSpecificMappingInfo#matchedPatterns better matched paths}
* take prescedence over those with a weaker match (as expressed by the {@linkplain PathMatcher#getPatternComparator(String) * take precedence over those with a weaker match (as expressed by the {@linkplain PathMatcher#getPatternComparator(String)
* path pattern comparator}.) Typically, this means that patterns without wild cards and uri templates * path pattern comparator}.) Typically, this means that patterns without wild cards and uri templates
* will be ordered before those without.</li> * will be ordered before those without.</li>
* <li>RHIs with one single {@linkplain RequestMappingInfo#methods request method} will be * <li>RHIs with one single {@linkplain RequestMappingInfo#methods request method} will be

View File

@ -82,7 +82,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder {
/** /**
* Prepare a builder from the host, port, scheme, and path of * Prepare a builder from the host, port, scheme, and path of
* an HttpSevletRequest. * an HttpServletRequest.
*/ */
public static ServletUriComponentsBuilder fromRequestUri(HttpServletRequest request) { public static ServletUriComponentsBuilder fromRequestUri(HttpServletRequest request) {
ServletUriComponentsBuilder builder = fromRequest(request); ServletUriComponentsBuilder builder = fromRequest(request);

View File

@ -211,7 +211,7 @@ public abstract class WebContentGenerator extends WebApplicationObjectSupport {
} }
/** /**
* Return whether 'must-revaliate' is added to every Cache-Control header. * Return whether 'must-revalidate' is added to every Cache-Control header.
*/ */
public boolean isAlwaysMustRevalidate() { public boolean isAlwaysMustRevalidate() {
return alwaysMustRevalidate; return alwaysMustRevalidate;

View File

@ -38,7 +38,7 @@ import org.springframework.web.servlet.ViewResolver;
* application beans - such a separation will make this clear. * application beans - such a separation will make this clear.
* *
* <p>This ViewResolver does not support internationalization. * <p>This ViewResolver does not support internationalization.
* Conside ResourceBundleViewResolver if you need to apply different * Consider ResourceBundleViewResolver if you need to apply different
* view resources per locale. * view resources per locale.
* *
* <p>Note: This ViewResolver implements the Ordered interface to allow for * <p>Note: This ViewResolver implements the Ordered interface to allow for

View File

@ -70,7 +70,7 @@ import org.springframework.web.servlet.ViewResolver;
* with the view's {@linkplain View#getContentType() content type}). The most compatible view is returned. * with the view's {@linkplain View#getContentType() content type}). The most compatible view is returned.
* *
* <p>Additionally, this view resolver exposes the {@link #setDefaultViews(List) defaultViews} property, allowing you to * <p>Additionally, this view resolver exposes the {@link #setDefaultViews(List) defaultViews} property, allowing you to
* override the views provided by the view resolvers. Note that these default views are offered as candicates, and * override the views provided by the view resolvers. Note that these default views are offered as candidates, and
* still need have the content type requested (via file extension, parameter, or {@code Accept} header, described above). * still need have the content type requested (via file extension, parameter, or {@code Accept} header, described above).
* You can also set the {@linkplain #setDefaultContentType(MediaType) default content type} directly, which will be * You can also set the {@linkplain #setDefaultContentType(MediaType) default content type} directly, which will be
* returned when the other mechanisms ({@code Accept} header, file extension or parameter) do not result in a match. * returned when the other mechanisms ({@code Accept} header, file extension or parameter) do not result in a match.

View File

@ -103,7 +103,7 @@ public abstract class AbstractPdfStamperView extends AbstractUrlBasedView {
* e.g. setting the "formFlattening" property. * e.g. setting the "formFlattening" property.
* @param request in case we need locale etc. Shouldn't look at attributes. * @param request in case we need locale etc. Shouldn't look at attributes.
* @param response in case we need to set cookies. Shouldn't write to it. * @param response in case we need to set cookies. Shouldn't write to it.
* @throws Exception any exception that occured during document building * @throws Exception any exception that occurred during document building
*/ */
protected abstract void mergePdfDocument(Map<String, Object> model, PdfStamper stamper, protected abstract void mergePdfDocument(Map<String, Object> model, PdfStamper stamper,
HttpServletRequest request, HttpServletResponse response) throws Exception; HttpServletRequest request, HttpServletResponse response) throws Exception;

View File

@ -172,7 +172,7 @@ public abstract class AbstractPdfView extends AbstractView {
* @param writer the PdfWriter to use * @param writer the PdfWriter to use
* @param request in case we need locale etc. Shouldn't look at attributes. * @param request in case we need locale etc. Shouldn't look at attributes.
* @param response in case we need to set cookies. Shouldn't write to it. * @param response in case we need to set cookies. Shouldn't write to it.
* @throws Exception any exception that occured during document building * @throws Exception any exception that occurred during document building
* @see com.lowagie.text.Document#open() * @see com.lowagie.text.Document#open()
* @see com.lowagie.text.Document#close() * @see com.lowagie.text.Document#close()
*/ */

View File

@ -96,7 +96,7 @@ public abstract class AbstractAtomFeedView extends AbstractFeedView<Feed> {
* @param request in case we need locale etc. Shouldn't look at attributes. * @param request in case we need locale etc. Shouldn't look at attributes.
* @param response in case we need to set cookies. Shouldn't write to it. * @param response in case we need to set cookies. Shouldn't write to it.
* @return the feed entries to be added to the feed * @return the feed entries to be added to the feed
* @throws Exception any exception that occured during document building * @throws Exception any exception that occurred during document building
* @see Entry * @see Entry
*/ */
protected abstract List<Entry> buildFeedEntries( protected abstract List<Entry> buildFeedEntries(

View File

@ -91,7 +91,7 @@ public abstract class AbstractFeedView<T extends WireFeed> extends AbstractView
* @param feed the feed to add entries to * @param feed the feed to add entries to
* @param request in case we need locale etc. Shouldn't look at attributes. * @param request in case we need locale etc. Shouldn't look at attributes.
* @param response in case we need to set cookies. Shouldn't write to it. * @param response in case we need to set cookies. Shouldn't write to it.
* @throws Exception any exception that occured during building * @throws Exception any exception that occurred during building
*/ */
protected abstract void buildFeedEntries(Map<String, Object> model, T feed, protected abstract void buildFeedEntries(Map<String, Object> model, T feed,
HttpServletRequest request, HttpServletResponse response) throws Exception; HttpServletRequest request, HttpServletResponse response) throws Exception;

View File

@ -79,7 +79,7 @@ public abstract class AbstractRssFeedView extends AbstractFeedView<Channel> {
* @param request in case we need locale etc. Shouldn't look at attributes. * @param request in case we need locale etc. Shouldn't look at attributes.
* @param response in case we need to set cookies. Shouldn't write to it. * @param response in case we need to set cookies. Shouldn't write to it.
* @return the feed items to be added to the feed * @return the feed items to be added to the feed
* @throws Exception any exception that occured during document building * @throws Exception any exception that occurred during document building
* @see Item * @see Item
*/ */
protected abstract List<Item> buildFeedItems( protected abstract List<Item> buildFeedItems(

View File

@ -217,7 +217,7 @@ public abstract class AbstractJasperReportsView extends AbstractUrlBasedView {
* <p>The name specified in the list should correspond to an attribute in the * <p>The name specified in the list should correspond to an attribute in the
* model Map, and to a sub-report data source parameter in your report file. * model Map, and to a sub-report data source parameter in your report file.
* If you pass in {@code JRDataSource} objects as model attributes, * If you pass in {@code JRDataSource} objects as model attributes,
* specifing this list of keys is not required. * specifying this list of keys is not required.
* <p>If you specify a list of sub-report data keys, it is required to also * <p>If you specify a list of sub-report data keys, it is required to also
* specify a {@code reportDataKey} for the main report, to avoid confusion * specify a {@code reportDataKey} for the main report, to avoid confusion
* between the data source objects for the various reports involved. * between the data source objects for the various reports involved.
@ -536,7 +536,7 @@ public abstract class AbstractJasperReportsView extends AbstractUrlBasedView {
* {@link #renderReport} method that should be implemented by the subclass. * {@link #renderReport} method that should be implemented by the subclass.
* @param model the model map, as passed in for view rendering. Must contain * @param model the model map, as passed in for view rendering. Must contain
* a report data value that can be converted to a {@code JRDataSource}, * a report data value that can be converted to a {@code JRDataSource},
* acccording to the rules of the {@link #fillReport} method. * according to the rules of the {@link #fillReport} method.
*/ */
@Override @Override
protected void renderMergedOutputModel( protected void renderMergedOutputModel(
@ -820,12 +820,12 @@ public abstract class AbstractJasperReportsView extends AbstractUrlBasedView {
/** /**
* Subclasses should implement this method to perform the actual rendering process. * Subclasses should implement this method to perform the actual rendering process.
* <p>Note that the content type has not been set yet: Implementors should build * <p>Note that the content type has not been set yet: Implementers should build
* a content type String and set it via {@code response.setContentType}. * a content type String and set it via {@code response.setContentType}.
* If necessary, this can include a charset clause for a specific encoding. * If necessary, this can include a charset clause for a specific encoding.
* The latter will only be necessary for textual output onto a Writer, and only * The latter will only be necessary for textual output onto a Writer, and only
* in case of the encoding being specified in the JasperReports exporter parameters. * in case of the encoding being specified in the JasperReports exporter parameters.
* <p><b>WARNING:</b> Implementors should not use {@code response.setCharacterEncoding} * <p><b>WARNING:</b> Implementers should not use {@code response.setCharacterEncoding}
* unless they are willing to depend on Servlet API 2.4 or higher. Prefer a * unless they are willing to depend on Servlet API 2.4 or higher. Prefer a
* concatenated content type String with a charset clause instead. * concatenated content type String with a charset clause instead.
* @param populatedReport the populated {@code JasperPrint} to render * @param populatedReport the populated {@code JasperPrint} to render

View File

@ -73,7 +73,7 @@ public class VelocityToolboxView extends VelocityView {
* to automatically load a Velocity Tools toolbox definition file and expose * to automatically load a Velocity Tools toolbox definition file and expose
* all defined tools in the specified scopes. If no config location is * all defined tools in the specified scopes. If no config location is
* specified, no toolbox will be loaded and exposed. * specified, no toolbox will be loaded and exposed.
* <p>The specfied location string needs to refer to a ServletContext * <p>The specified location string needs to refer to a ServletContext
* resource, as expected by ServletToolboxManager which is part of * resource, as expected by ServletToolboxManager which is part of
* the view package of Velocity Tools. * the view package of Velocity Tools.
* @see org.apache.velocity.tools.view.servlet.ServletToolboxManager#getInstance * @see org.apache.velocity.tools.view.servlet.ServletToolboxManager#getInstance

View File

@ -88,7 +88,7 @@ public class VelocityViewResolver extends AbstractTemplateViewResolver {
* to automatically load a Velocity Tools toolbox definition file and expose * to automatically load a Velocity Tools toolbox definition file and expose
* all defined tools in the specified scopes. If no config location is * all defined tools in the specified scopes. If no config location is
* specified, no toolbox will be loaded and exposed. * specified, no toolbox will be loaded and exposed.
* <p>The specfied location string needs to refer to a ServletContext * <p>The specified location string needs to refer to a ServletContext
* resource, as expected by ServletToolboxManager which is part of * resource, as expected by ServletToolboxManager which is part of
* the view package of Velocity Tools. * the view package of Velocity Tools.
* <p><b>Note:</b> Specifying a toolbox config location will lead to * <p><b>Note:</b> Specifying a toolbox config location will lead to

View File

@ -264,7 +264,7 @@ public class XsltView extends AbstractUrlBasedView {
* an object of {@link #getSourceTypes() supported type}. * an object of {@link #getSourceTypes() supported type}.
* @param model the merged model Map * @param model the merged model Map
* @return the XSLT Source object (or {@code null} if none found) * @return the XSLT Source object (or {@code null} if none found)
* @throws Exception if an error occured during locating the source * @throws Exception if an error occurred during locating the source
* @see #setSourceKey * @see #setSourceKey
* @see #convertSource * @see #convertSource
*/ */

View File

@ -90,7 +90,7 @@ public class ServerEndpointRegistration extends ServerEndpointConfig.Configurato
/** /**
* Create a new {@link ServerEndpointRegistration} instance from an * Create a new {@link ServerEndpointRegistration} instance from an
* {@code javax.webscoket.Endpoint} instance. * {@code javax.websocket.Endpoint} instance.
* @param path the endpoint path * @param path the endpoint path
* @param endpoint the endpoint instance * @param endpoint the endpoint instance
*/ */