You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/08/18 12:38:36 UTC

(commons-beanutils) 15/34: Remove redundant call to super()

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 bd6580247fdfb91f8a9219def5a53de2fba1c304
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Aug 18 08:25:06 2024 -0400

    Remove redundant call to super()
    
    Use final
---
 .../org/apache/commons/beanutils2/converters/InetAddressConverter.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/beanutils2/converters/InetAddressConverter.java b/src/main/java/org/apache/commons/beanutils2/converters/InetAddressConverter.java
index d07ca101..4f98bdc3 100644
--- a/src/main/java/org/apache/commons/beanutils2/converters/InetAddressConverter.java
+++ b/src/main/java/org/apache/commons/beanutils2/converters/InetAddressConverter.java
@@ -34,7 +34,6 @@ public class InetAddressConverter extends AbstractConverter<InetAddress> {
      * occurs.
      */
     public InetAddressConverter() {
-        super();
     }
 
     /**
@@ -75,7 +74,7 @@ public class InetAddressConverter extends AbstractConverter<InetAddress> {
 
             try {
                 return type.cast(InetAddress.getByName(stringValue));
-            } catch (UnknownHostException ex) {
+            } catch (final UnknownHostException ex) {
                 throw new IllegalArgumentException("Unable to get IP address of the named host.", ex);
             }
         }