Skip to content

Commit 806c523

Browse files
committed
Whoops, forgot to remove blankPage variable from when figuring out what this test should do.
1 parent f593568 commit 806c523

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_4_Test.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,9 @@ public void printContentsOfDocumentUsingReferenceOfInstanceMethodBeloningToAnObj
242242
*/
243243
@Test
244244
public void transformPagesToHaveFooterUsingReferenceOfInstanceMethodBelonginToThisObject() {
245-
Page blankPage = new Page("");
246245
Document diary = new Document("My Diary", Arrays.asList(
247246
new Page("Today I went shopping"),
248-
blankPage,
249247
new Page("Today I did maths"),
250-
blankPage,
251248
new Page("Today I wrote in my diary")));
252249

253250
Document diaryWithFooters = diary.copyWithFooter();

0 commit comments

Comments
 (0)