Skip to content

Commit bd70851

Browse files
committed
coding guidelines
1 parent 74060a2 commit bd70851

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

coding-guidelines.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ Private classes should follow the same design, but they don't have to.
9292
### Default Collections idiom
9393

9494
The default pattern for using Set, Map and List is:
95-
- List<Foo> fooList = new ArrayList<>();
96-
- Set<Foo> fooSet = new LinkedHashSet<>();
97-
- Map<Foo> fooMap = new LinkedHashMap<>();
95+
- `List<Foo> fooList = new ArrayList<>()`
96+
- `Set<Foo> fooSet = new LinkedHashSet<>()`
97+
- `Map<Foo> fooMap = new LinkedHashMap<>()`
9898

9999
By using the generic interface instead of using an implementation we are making sure we
100100
don't rely on anything impl specific.

0 commit comments

Comments
 (0)