Remove trailing whitespace in source files
find . -type f -name "*.java" -or -name "*.aj" | \
xargs perl -p -i -e "s/[ \t]*$//g" {} \;
Issue: SPR-10127
This commit is contained in:
committed by
Chris Beams
parent
44a474a014
commit
1762157ad1
@@ -305,7 +305,7 @@ public class ContextLoaderPlugIn implements PlugIn {
|
||||
logger.debug("Published WebApplicationContext of Struts ActionServlet '" + getServletName() +
|
||||
"', module '" + getModulePrefix() + "' as ServletContext attribute with name [" + attrName + "]");
|
||||
}
|
||||
|
||||
|
||||
return wac;
|
||||
}
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ import org.springframework.web.context.WebApplicationContext;
|
||||
public class DelegatingRequestProcessor extends RequestProcessor {
|
||||
|
||||
private WebApplicationContext webApplicationContext;
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void init(ActionServlet actionServlet, ModuleConfig moduleConfig) throws ServletException {
|
||||
|
||||
@@ -60,7 +60,7 @@ import org.springframework.web.context.WebApplicationContext;
|
||||
public class DelegatingTilesRequestProcessor extends TilesRequestProcessor {
|
||||
|
||||
private WebApplicationContext webApplicationContext;
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void init(ActionServlet actionServlet, ModuleConfig moduleConfig) throws ServletException {
|
||||
|
||||
@@ -62,7 +62,7 @@ import org.springframework.validation.ObjectError;
|
||||
* <form-beans>
|
||||
* <form-bean name="actionForm" type="org.springframework.web.struts.SpringBindingActionForm"/>
|
||||
* </form-beans></pre>
|
||||
*
|
||||
*
|
||||
* Example code in a custom Struts <code>Action</code>:
|
||||
*
|
||||
* <pre>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright 2002-2005 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
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
||||
Reference in New Issue
Block a user