Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into week4-generics
Browse files Browse the repository at this point in the history
  • Loading branch information
homberghp committed Feb 20, 2024
2 parents 334ff15 + d4e623b commit 4842880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions topics/arrangeactassert.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ to generate a non-existing generic class, create two instance with different typ
.complete a generic
[source,java]
----
Box<String> sb= new Box<String>(); // compiler will complain for non existing Box class.
Box<Integer> ib= new Box<Integer>(); // compiler will complain for non existing Box class.
Box<String> sb= new Box<String>(); // compiler complains about nonexisting Box class.
Box<Integer> ib= new Box<Integer>(); // compiler complains about nonexisting Box class.
// now you can let the IDE to follow its urge to do the typing for you.
----
Expand Down

0 comments on commit 4842880

Please sign in to comment.