You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "zhao tao (Jira)" <ji...@apache.org> on 2024/03/28 11:17:00 UTC
[jira] [Created] (CONFIGURATION-843) Methods should not be empty
zhao tao created CONFIGURATION-843:
--------------------------------------
Summary: 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
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)