소스 검색

Merge pull request #646 from FridaTveit/AddFinalPolicy

Add policy for 'final' classes
Stuart Kent 9 년 전
부모
커밋
454f728284
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      POLICIES.md

+ 4
- 0
POLICIES.md 파일 보기

42
 
42
 
43
 References: [[1](https://github.com/exercism/xjava/issues/178)]
43
 References: [[1](https://github.com/exercism/xjava/issues/178)]
44
 
44
 
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
+
45
 ### Ignore noninitial tests
49
 ### Ignore noninitial tests
46
 
50
 
47
 > 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).
51
 > 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).