Skip to content

Commit

Permalink
Remove method that only calls super
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 3, 2024
1 parent 4877ede commit ad530d2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/main/java/org/apache/commons/beanutils2/BeanMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -236,18 +236,6 @@ public boolean containsKey(final Object name) {
return getReadMethod(name) != null;
}

/**
* Returns true if the bean defines a property whose current value is the given object.
*
* @param value the value to check
* @return false true if the bean has at least one property whose current value is that object, false otherwise
*/
@Override
public boolean containsValue(final Object value) {
// use default implementation
return super.containsValue(value);
}

/**
* Converts the given value to the given type. First, reflection is used to find a public constructor declared by the given class that takes one argument,
* which must be the precise type of the given value. If such a constructor is found, a new object is created by passing the given value to that
Expand Down

0 comments on commit ad530d2

Please sign in to comment.