Polish formatting
Minor formatting polish across that codebase. Primarily fixing whitespace issues.
This commit is contained in:
@@ -470,4 +470,4 @@ public abstract class CacheAspectSupport implements InitializingBean {
|
||||
return this.caches;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,4 +89,4 @@ class ExpressionEvaluator {
|
||||
sb.append(expression);
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,4 +117,4 @@ class LazyParamAwareEvaluationContext extends StandardEvaluationContext {
|
||||
sb.append(m.toString());
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,4 +29,4 @@ package org.springframework.context.annotation;
|
||||
public enum AdviceMode {
|
||||
PROXY,
|
||||
ASPECTJ
|
||||
}
|
||||
}
|
||||
|
||||
@@ -725,4 +725,4 @@ public class CommonAnnotationBeanPostProcessor extends InitDestroyAnnotationBean
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,4 +110,4 @@ public @interface EnableAspectJAutoProxy {
|
||||
*/
|
||||
boolean proxyTargetClass() default false;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,4 +60,4 @@ public interface ImportBeanDefinitionRegistrar {
|
||||
public void registerBeanDefinitions(
|
||||
AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,4 +44,4 @@ class PropertyOverrideBeanDefinitionParser extends AbstractPropertyLoadingBeanDe
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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++) {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -195,7 +195,7 @@ public class FormattingConversionService extends GenericConversionService
|
||||
|
||||
private Class<? extends Annotation> annotationType;
|
||||
|
||||
private AnnotationFormatterFactory annotationFormatterFactory;
|
||||
private AnnotationFormatterFactory annotationFormatterFactory;
|
||||
|
||||
private Class<?> fieldType;
|
||||
|
||||
|
||||
@@ -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)
|
||||
*/
|
||||
|
||||
@@ -135,4 +135,4 @@ public class ReflectiveLoadTimeWeaver implements LoadTimeWeaver {
|
||||
return new SimpleThrowawayClassLoader(this.classLoader);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -142,4 +142,4 @@ class JBossMCAdapter implements JBossClassLoaderAdapter {
|
||||
public ClassLoader getInstrumentableClassLoader() {
|
||||
return classLoader;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,4 +79,4 @@ class JBossMCTranslatorAdapter implements InvocationHandler {
|
||||
builder.append(this.transformer);
|
||||
return builder.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,4 +68,4 @@ class JBossModulesAdapter implements JBossClassLoaderAdapter {
|
||||
public ClassLoader getInstrumentableClassLoader() {
|
||||
return classLoader;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,4 +85,4 @@ class OC4JClassLoaderAdapter {
|
||||
throw new IllegalStateException("Could not copy OC4J classloader", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,4 +92,4 @@ class OC4JClassPreprocessorAdapter implements InvocationHandler {
|
||||
builder.append(this.transformer);
|
||||
return builder.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,5 +76,4 @@ public class OC4JLoadTimeWeaver implements LoadTimeWeaver {
|
||||
public ClassLoader getThrowawayClassLoader() {
|
||||
return this.classLoader.getThrowawayClassLoader();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -110,4 +110,4 @@ class WebLogicClassLoaderAdapter {
|
||||
throw new IllegalStateException("Could not construct WebLogic GenericClassLoader", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,4 +87,4 @@ class WebLogicClassPreProcessorAdapter implements InvocationHandler {
|
||||
builder.append(this.transformer);
|
||||
return builder.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,4 +69,4 @@ public class WebLogicLoadTimeWeaver implements LoadTimeWeaver {
|
||||
public ClassLoader getThrowawayClassLoader() {
|
||||
return this.classLoader.getThrowawayClassLoader();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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() + "]";
|
||||
|
||||
@@ -456,4 +456,4 @@ public class RmiServiceExporter extends RmiBasedExporter implements Initializing
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -126,4 +126,4 @@ public class ResourceScriptSource implements ScriptSource {
|
||||
public String toString() {
|
||||
return this.resource.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user