polishing

This commit is contained in:
Juergen Hoeller
2009-07-21 14:19:18 +00:00
parent 3f6e4282d6
commit 54285ea57c
4 changed files with 9 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 the original author or authors.
* Copyright 2002-2009 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.
@@ -39,10 +39,6 @@ import org.springframework.util.ClassUtils;
* This class may also serve as base class for a custom TransactionAttributeSource,
* or get customized through {@link TransactionAnnotationParser} strategies.
*
* <p>This is a direct alternative to
* {@link org.springframework.transaction.interceptor.AttributesTransactionAttributeSource},
* which is able to read in source-level attributes via Commons Attributes.
*
* @author Colin Sampaleanu
* @author Juergen Hoeller
* @since 1.2
@@ -151,15 +147,4 @@ public class AnnotationTransactionAttributeSource extends AbstractFallbackTransa
return this.publicMethodsOnly;
}
@Override
public boolean equals(Object other) {
return (this == other || other instanceof AnnotationTransactionAttributeSource);
}
@Override
public int hashCode() {
return AnnotationTransactionAttributeSource.class.hashCode();
}
}