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:
Phillip Webb
2012-12-18 13:45:00 -08:00
committed by Chris Beams
parent 44a474a014
commit 1762157ad1
1400 changed files with 5920 additions and 5923 deletions

View File

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

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -62,7 +62,7 @@ import org.springframework.validation.ObjectError;
* <form-beans>
* <form-bean name="actionForm" type="org.springframework.web.struts.SpringBindingActionForm"/>
* &lt;/form-beans&gt;</pre>
*
*
* Example code in a custom Struts <code>Action</code>:
*
* <pre>

View File

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