Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles

This commit is contained in:
Chris Beams
2008-12-18 14:50:25 +00:00
parent 0f521c3bfb
commit 579280d7bf
87 changed files with 4294 additions and 654 deletions

View File

@@ -36,35 +36,35 @@ import org.springframework.beans.factory.InitializingBean;
*/
public class CommonsLogFactoryBean implements FactoryBean<Log>, InitializingBean {
private Log log;
private Log log;
/**
* The name of the log.
* <p>This property is required.
* @param logName the name of the log
*/
public void setLogName(String logName) {
this.log = LogFactory.getLog(logName);
}
/**
* The name of the log.
* <p>This property is required.
* @param logName the name of the log
*/
public void setLogName(String logName) {
this.log = LogFactory.getLog(logName);
}
public void afterPropertiesSet() {
if (this.log == null) {
throw new IllegalArgumentException("'logName' is required");
}
}
public void afterPropertiesSet() {
if (this.log == null) {
throw new IllegalArgumentException("'logName' is required");
}
}
public Log getObject() {
return this.log;
}
public Log getObject() {
return this.log;
}
public Class<? extends Log> getObjectType() {
return (this.log != null ? this.log.getClass() : Log.class);
}
public Class<? extends Log> getObjectType() {
return (this.log != null ? this.log.getClass() : Log.class);
}
public boolean isSingleton() {
return true;
}
public boolean isSingleton() {
return true;
}
}

View File

@@ -92,7 +92,7 @@ import org.springframework.util.StringValueResolver;
* @see PropertyOverrideConfigurer
*/
public class PropertyPlaceholderConfigurer extends PropertyResourceConfigurer
implements BeanNameAware, BeanFactoryAware {
implements BeanNameAware, BeanFactoryAware {
/** Default placeholder prefix: "${" */
public static final String DEFAULT_PLACEHOLDER_PREFIX = "${";
@@ -288,7 +288,7 @@ public class PropertyPlaceholderConfigurer extends PropertyResourceConfigurer
* @see #resolvePlaceholder(String, java.util.Properties, int)
*/
protected String parseStringValue(String strVal, Properties props, Set<String> visitedPlaceholders)
throws BeanDefinitionStoreException {
throws BeanDefinitionStoreException {
StringBuilder buf = new StringBuilder(strVal);

View File

@@ -80,7 +80,7 @@ import org.springframework.util.StringUtils;
* @see org.springframework.beans.factory.xml.XmlBeanDefinitionReader
*/
public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFactory
implements ConfigurableListableBeanFactory, BeanDefinitionRegistry {
implements ConfigurableListableBeanFactory, BeanDefinitionRegistry {
/** Whether to allow re-registration of a different definition with the same name */
private boolean allowBeanDefinitionOverriding = true;