This repository has been archived by the owner on Nov 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddd060d
commit 1923f19
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
test-manual/src/main/java/de/plushnikov/bug/issue634/LinkedListImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package de.plushnikov.bug.issue634; | ||
|
||
public class LinkedListImpl { | ||
|
||
private Node first; | ||
private Node last; | ||
public void add(Object o) { | ||
Node node = new Node(o, first); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
test-manual/src/main/java/de/plushnikov/bug/issue634/Node.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package de.plushnikov.bug.issue634; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
@RequiredArgsConstructor | ||
public class Node { | ||
@Setter | ||
private Node next; | ||
|
||
private final Object element; | ||
} |