Skip to content

Commit f06acc9

Browse files
committed
Add policy for 'final' classes
1 parent 4871a73 commit f06acc9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

POLICIES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ References: [[1](https://github.com/exercism/xjava/issues/177#issuecomment-26129
4242
4343
References: [[1](https://github.com/exercism/xjava/issues/178)]
4444

45+
### Do not make user-facing classes `final`
46+
47+
> Starter implementations and test classes should not include the `final` keyword in class declarations as it isn't strictly necessary and could be confusing to people unfamiliar with Java.
48+
4549
### Ignore noninitial tests
4650

4751
> All but the first test in an exercise test suite should be annotated `@Ignore("Remove to run test")` (single test) or `@Ignore("Remove to run tests")` (parametrized test).

0 commit comments

Comments
 (0)