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 edab0597cff665c198ab7640cdbe78a34128db91
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Aug 18 08:28:46 2024 -0400

    Remove redundant parentheses
---
 .../org/apache/commons/beanutils2/converters/YearMonthConverter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/beanutils2/converters/YearMonthConverter.java
 
b/src/main/java/org/apache/commons/beanutils2/converters/YearMonthConverter.java
index abab00a2..fcf977a0 100644
--- 
a/src/main/java/org/apache/commons/beanutils2/converters/YearMonthConverter.java
+++ 
b/src/main/java/org/apache/commons/beanutils2/converters/YearMonthConverter.java
@@ -63,7 +63,7 @@ public final class YearMonthConverter extends 
AbstractConverter<YearMonth> {
     @Override
     protected <T> T convertToType(final Class<T> type, final Object value) 
throws Throwable {
         if (YearMonth.class.equals(type)) {
-            return type.cast(YearMonth.parse((String.valueOf(value))));
+            return type.cast(YearMonth.parse(String.valueOf(value)));
         }
 
         throw conversionException(type, value);

Reply via email to