Skip to content

bowling: remove unnecessary exceptions from test method signatures #1027

Closed

Description

@FridaTveit

Many of the methods in the bowling tests have throws IllegalStateException in their method signatures. Since IllegalStateException is an unchecked exception, this isn't necessary. You only have to specify exceptions which can be thrown in a method if they are checked exceptions. Therefore all these throws declarations should be removed from the method signatures.

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

    codegood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions