Skip to content

Commit b71cc41

Browse files
committed
clarifications
1 parent 066eb13 commit b71cc41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/style-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Consider statically importing the following commonly used methods and constants:
3333
- `java.util.Arrays.*` (asList, etc.)
3434
- `java.util.Collections.*` (singletonList, emptyList, emptyMap, emptySet, etc.)
3535
- `java.util.stream.Collectors.*` (toList, toMap, toSet, etc.)
36-
- `java.util.Objects` (requireNonNull, etc.)
36+
- `java.util.Objects` (requireNonNull)
3737
- `java.util.logging.Level.*` (FINE, INFO, WARNING, etc.)
3838
- `java.nio.charset.StandardCharsets.*` (UTF_8, etc.)
3939
- **Time unit constants**
@@ -75,9 +75,9 @@ packages contain implementation details that should not be used by external cons
7575

7676
### `final` keyword usage
7777

78-
Public API classes should be declared `final` where possible.
78+
Public non-internal classes should be declared `final` where possible.
7979

80-
Methods should only be declared `final` if they are in non-final public API classes.
80+
Methods should only be declared `final` if they are in public non-internal non-final classes.
8181

8282
Fields should be declared `final` where possible.
8383

0 commit comments

Comments
 (0)