Skip to content

Consider converting UnsignedNumbers to an interface #52

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*/}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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