From b7cc5d2402be1ddc7376ace3be3f54f7955f881a Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Fri, 12 Dec 2008 19:03:33 +0000 Subject: [PATCH] Java 5 code style --- .../factory/config/InstantiationAwareBeanPostProcessor.java | 2 +- .../config/SmartInstantiationAwareBeanPostProcessor.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java b/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java index 1d0438a284..00e4700b71 100644 --- a/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java +++ b/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java @@ -66,7 +66,7 @@ public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor { * @see org.springframework.beans.factory.support.AbstractBeanDefinition#hasBeanClass * @see org.springframework.beans.factory.support.AbstractBeanDefinition#getFactoryMethodName */ - Object postProcessBeforeInstantiation(Class beanClass, String beanName) throws BeansException; + Object postProcessBeforeInstantiation(Class beanClass, String beanName) throws BeansException; /** * Perform operations after the bean has been instantiated, via a constructor or factory method, diff --git a/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/SmartInstantiationAwareBeanPostProcessor.java b/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/SmartInstantiationAwareBeanPostProcessor.java index 3b96baacfe..ff28d38b94 100644 --- a/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/SmartInstantiationAwareBeanPostProcessor.java +++ b/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/SmartInstantiationAwareBeanPostProcessor.java @@ -44,7 +44,7 @@ public interface SmartInstantiationAwareBeanPostProcessor extends InstantiationA * @return the type of the bean, or null if not predictable * @throws org.springframework.beans.BeansException in case of errors */ - Class predictBeanType(Class beanClass, String beanName) throws BeansException; + Class predictBeanType(Class beanClass, String beanName) throws BeansException; /** * Determine the candidate constructors to use for the given bean. @@ -53,7 +53,7 @@ public interface SmartInstantiationAwareBeanPostProcessor extends InstantiationA * @return the candidate constructors, or null if none specified * @throws org.springframework.beans.BeansException in case of errors */ - Constructor[] determineCandidateConstructors(Class beanClass, String beanName) throws BeansException; + Constructor[] determineCandidateConstructors(Class beanClass, String beanName) throws BeansException; /** * Obtain a reference for early access to the specified bean,