Polishing
This commit is contained in:
@@ -173,8 +173,7 @@ public class BeanDefinitionHolder implements BeanMetadataElement {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return ObjectUtils.nullSafeHash(this.beanDefinition, this.beanName,
|
||||
this.aliases);
|
||||
return ObjectUtils.nullSafeHash(this.beanDefinition, this.beanName, this.aliases);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -390,7 +390,7 @@ public abstract class ObjectUtils {
|
||||
/**
|
||||
* Return a hash code for the given elements, delegating to
|
||||
* {@link #nullSafeHashCode(Object)} for each element. Contrary
|
||||
* to {@link Objects#hash(Object...)}, this method handle an
|
||||
* to {@link Objects#hash(Object...)}, this method can handle an
|
||||
* element that is an array.
|
||||
* @param elements the elements to be hashed
|
||||
* @return a hash value of the elements
|
||||
@@ -410,7 +410,7 @@ public abstract class ObjectUtils {
|
||||
/**
|
||||
* Return a hash code for the given object; typically the value of
|
||||
* {@code Object#hashCode()}}. If the object is an array,
|
||||
* this method will delegate to any of the {@code Arrays#hasCode}
|
||||
* this method will delegate to any of the {@code Arrays.hashCode}
|
||||
* methods. If the object is {@code null}, this method returns 0.
|
||||
* @see Object#hashCode()
|
||||
* @see Arrays
|
||||
|
||||
Reference in New Issue
Block a user