Skip to content

Consider converting UnsignedNumbers to an interface #52

@hrstoyanov

Description

@hrstoyanov

Because all its methods are static methods. This would prevent people from doing stupid things like:
UnsignedNumbers un = new UnsignedNumbers();

...Or make the class final and add a private constructor:

public class UnsignedNumbers {
private UnsignedNumbers(){/*do not instantiate me*/}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions