This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git

commit b05bc7bffc100cc6fef4f3678c821372ade58151
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Aug 18 08:24:38 2024 -0400

    Remove redundant parentheses
---
 src/main/java/org/apache/commons/beanutils2/DynaProperty.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/beanutils2/DynaProperty.java 
b/src/main/java/org/apache/commons/beanutils2/DynaProperty.java
index d40a6f78..9f757902 100644
--- a/src/main/java/org/apache/commons/beanutils2/DynaProperty.java
+++ b/src/main/java/org/apache/commons/beanutils2/DynaProperty.java
@@ -124,9 +124,9 @@ public class DynaProperty implements Serializable {
         if (!result && obj instanceof DynaProperty) {
             final DynaProperty that = (DynaProperty) obj;
             result =
-               (Objects.equals(this.name, that.name)) &&
-               (Objects.equals(this.type, that.type)) &&
-               (Objects.equals(this.contentType, that.contentType));
+               Objects.equals(this.name, that.name) &&
+               Objects.equals(this.type, that.type) &&
+               Objects.equals(this.contentType, that.contentType);
         }
 
         return result;

Reply via email to