Make some of the Java classes proper utility classes #4894
Labels
good first issue
Good for newcomers
Hacktoberfest
module/url
Team/PCM
Protocol connector packages related issues
Type/Improvement
Description:
Some of the Java classes in
url
module, namely:UrlUtils
,Constants
,Decode
,Encode
.appear to be utility classes (i.e. all of the members and methods are
static
). Generally speaking it is a good practice to:private
(like inModuleUtils
) - because it does not make sense to have objects of such classes,final
- because it does not make sense to derive any class from them.There are benefits of doing this:
Suggested Labels:
module/url,hacktoberfest
Suggested Assignees:
@vil02
Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:
The text was updated successfully, but these errors were encountered: