Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
This repository was archived by the owner on May 13, 2026. It is now read-only.

Clarify Utils Class instantiation #153

Description

@Jonathan-Zollinger

Summary

because the utils class shouldn't be instantiated, any attempt to instantiate it should be met with an error.

Proposed Solution

override the default constructor with an error statement. ie

...

private Utils() {
  throw new IllegalStateException("Utility class");
}

...

Alternative

N/A

Requirements

  • [] automated test validates instantiating utils class throws an error
  • [] if not tested, add tests validating documented behavior

Additional Context

sonarcloud

Code of Conduct

Metadata

Metadata

Labels

enhancementNew feature or requestsonar-cloudmirror of sonar cloud issue

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions