Polish formatting

Minor formatting polish across that codebase. Primarily fixing
whitespace issues.
This commit is contained in:
Phillip Webb
2013-02-01 10:14:01 -08:00
parent 0a6da1e42d
commit f464a45ba4
114 changed files with 124 additions and 127 deletions

View File

@@ -470,4 +470,4 @@ public abstract class CacheAspectSupport implements InitializingBean {
return this.caches;
}
}
}
}

View File

@@ -89,4 +89,4 @@ class ExpressionEvaluator {
sb.append(expression);
return sb.toString();
}
}
}

View File

@@ -117,4 +117,4 @@ class LazyParamAwareEvaluationContext extends StandardEvaluationContext {
sb.append(m.toString());
return sb.toString();
}
}
}

View File

@@ -29,4 +29,4 @@ package org.springframework.context.annotation;
public enum AdviceMode {
PROXY,
ASPECTJ
}
}

View File

@@ -725,4 +725,4 @@ public class CommonAnnotationBeanPostProcessor extends InitDestroyAnnotationBean
}
}
}
}

View File

@@ -110,4 +110,4 @@ public @interface EnableAspectJAutoProxy {
*/
boolean proxyTargetClass() default false;
}
}

View File

@@ -60,4 +60,4 @@ public interface ImportBeanDefinitionRegistrar {
public void registerBeanDefinitions(
AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry);
}
}

View File

@@ -44,4 +44,4 @@ class PropertyOverrideBeanDefinitionParser extends AbstractPropertyLoadingBeanDe
}
}
}

View File

@@ -135,7 +135,7 @@ public class ResourceBundleMessageSource extends AbstractMessageSource implement
* @see #setBasename
* @see java.util.ResourceBundle#getBundle(String)
*/
public void setBasenames(String... basenames) {
public void setBasenames(String... basenames) {
if (basenames != null) {
this.basenames = new String[basenames.length];
for (int i = 0; i < basenames.length; i++) {

View File

@@ -110,7 +110,7 @@ public class SimpleRemoteSlsbInvokerInterceptor extends AbstractRemoteSlsbInvoke
}
else if (targetEx instanceof CreateException) {
throw RmiClientInterceptorUtils.convertRmiAccessException(
invocation.getMethod(), targetEx, "Could not create remote EJB [" + getJndiName() + "]");
invocation.getMethod(), targetEx, "Could not create remote EJB [" + getJndiName() + "]");
}
throw targetEx;
}

View File

@@ -195,7 +195,7 @@ public class FormattingConversionService extends GenericConversionService
private Class<? extends Annotation> annotationType;
private AnnotationFormatterFactory annotationFormatterFactory;
private AnnotationFormatterFactory annotationFormatterFactory;
private Class<?> fieldType;

View File

@@ -116,7 +116,7 @@ public class FormattingConversionServiceFactoryBean
/**
* Indicate whether default formatters should be registered or not.
* <p>By default, built-in formatters are registered. This flag can be used
* to turn that off and rely on explicitly registered formatters only.
* to turn that off and rely on explicitly registered formatters only.
* @see #setFormatters(Set)
* @see #setFormatterRegistrars(Set)
*/

View File

@@ -135,4 +135,4 @@ public class ReflectiveLoadTimeWeaver implements LoadTimeWeaver {
return new SimpleThrowawayClassLoader(this.classLoader);
}
}
}
}

View File

@@ -29,7 +29,7 @@ import org.springframework.core.OverridingClassLoader;
* @author Costin Leau
* @since 2.0
*/
public class SimpleInstrumentableClassLoader extends OverridingClassLoader {
public class SimpleInstrumentableClassLoader extends OverridingClassLoader {
private final WeavingTransformer weavingTransformer;

View File

@@ -142,4 +142,4 @@ class JBossMCAdapter implements JBossClassLoaderAdapter {
public ClassLoader getInstrumentableClassLoader() {
return classLoader;
}
}
}

View File

@@ -79,4 +79,4 @@ class JBossMCTranslatorAdapter implements InvocationHandler {
builder.append(this.transformer);
return builder.toString();
}
}
}

View File

@@ -68,4 +68,4 @@ class JBossModulesAdapter implements JBossClassLoaderAdapter {
public ClassLoader getInstrumentableClassLoader() {
return classLoader;
}
}
}

View File

@@ -85,4 +85,4 @@ class OC4JClassLoaderAdapter {
throw new IllegalStateException("Could not copy OC4J classloader", ex);
}
}
}
}

View File

@@ -92,4 +92,4 @@ class OC4JClassPreprocessorAdapter implements InvocationHandler {
builder.append(this.transformer);
return builder.toString();
}
}
}

View File

@@ -76,5 +76,4 @@ public class OC4JLoadTimeWeaver implements LoadTimeWeaver {
public ClassLoader getThrowawayClassLoader() {
return this.classLoader.getThrowawayClassLoader();
}
}

View File

@@ -110,4 +110,4 @@ class WebLogicClassLoaderAdapter {
throw new IllegalStateException("Could not construct WebLogic GenericClassLoader", ex);
}
}
}
}

View File

@@ -87,4 +87,4 @@ class WebLogicClassPreProcessorAdapter implements InvocationHandler {
builder.append(this.transformer);
return builder.toString();
}
}
}

View File

@@ -69,4 +69,4 @@ public class WebLogicLoadTimeWeaver implements LoadTimeWeaver {
public ClassLoader getThrowawayClassLoader() {
return this.classLoader.getThrowawayClassLoader();
}
}
}

View File

@@ -58,7 +58,7 @@ public class SpringModelMBean extends RequiredModelMBean {
* Construct a new SpringModelMBean instance with the given {@link ModelMBeanInfo}.
* @see javax.management.modelmbean.RequiredModelMBean#RequiredModelMBean(ModelMBeanInfo)
*/
public SpringModelMBean(ModelMBeanInfo mbi) throws MBeanException, RuntimeOperationsException {
public SpringModelMBean(ModelMBeanInfo mbi) throws MBeanException, RuntimeOperationsException {
super(mbi);
}

View File

@@ -345,7 +345,7 @@ public class RmiClientInterceptor extends RemoteInvocationBasedAccessor
}
catch (RemoteException ex) {
throw RmiClientInterceptorUtils.convertRmiAccessException(
invocation.getMethod(), ex, isConnectFailure(ex), getServiceUrl());
invocation.getMethod(), ex, isConnectFailure(ex), getServiceUrl());
}
catch (InvocationTargetException ex) {
Throwable exToThrow = ex.getTargetException();
@@ -389,7 +389,7 @@ public class RmiClientInterceptor extends RemoteInvocationBasedAccessor
* @see org.springframework.remoting.support.RemoteInvocation
*/
protected Object doInvoke(MethodInvocation methodInvocation, RmiInvocationHandler invocationHandler)
throws RemoteException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
throws RemoteException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
if (AopUtils.isToStringMethod(methodInvocation.getMethod())) {
return "RMI invoker proxy for service URL [" + getServiceUrl() + "]";

View File

@@ -456,4 +456,4 @@ public class RmiServiceExporter extends RmiBasedExporter implements Initializing
}
}
}
}
}

View File

@@ -81,7 +81,7 @@ public abstract class JRubyScriptUtils {
Node scriptRootNode = ruby.parseEval(scriptSource, "", null, 0);
// keep using the deprecated runNormally variant for JRuby 1.1/1.2 compatibility...
IRubyObject rubyObject = ruby.runNormally(scriptRootNode, false);
IRubyObject rubyObject = ruby.runNormally(scriptRootNode, false);
if (rubyObject instanceof RubyNil) {
String className = findClassName(scriptRootNode);

View File

@@ -126,4 +126,4 @@ public class ResourceScriptSource implements ScriptSource {
public String toString() {
return this.resource.toString();
}
}
}