Skip to content

Commit 21e4567

Browse files
committed
Remove outdated mention of Java having no generics
1 parent dfb5b04 commit 21e4567

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

_overviews/tutorials/scala-for-java-programmers.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,11 +1150,7 @@ scope of this document.
11501150
## Genericity
11511151

11521152
The last characteristic of Scala we will explore in this tutorial is
1153-
genericity. Java programmers should be well aware of the problems
1154-
posed by the lack of genericity in their language, a shortcoming which
1155-
is addressed in Java 1.5.
1156-
1157-
Genericity is the ability to write code parametrized by types. For
1153+
genericity. Genericity is the ability to write code parametrized by types. For
11581154
example, a programmer writing a library for linked lists faces the
11591155
problem of deciding which type to give to the elements of the list.
11601156
Since this list is meant to be used in many different contexts, it is

0 commit comments

Comments
 (0)