You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2024/03/29 12:07:00 UTC
[jira] [Resolved] (CONFIGURATION-843) Methods should not be empty
[ https://issues.apache.org/jira/browse/CONFIGURATION-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved CONFIGURATION-843.
-------------------------------------------
Fix Version/s: 2.10.2
Resolution: Fixed
> Methods should not be empty
> ---------------------------
>
> Key: CONFIGURATION-843
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-843
> Project: Commons Configuration
> Issue Type: Task
> Reporter: zhao tao
> Priority: Minor
> Fix For: 2.10.2
>
>
> An empty method is generally considered bad practice and can lead to confusion, readability, and maintenance issues. Empty methods bring no functionality and are misleading to others as they might think the method implementation fulfills a specific and identified requirement.
> There are several reasons for a method not to have a body:
--
This message was sent by Atlassian Jira
(v8.20.10#820010)