Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
Experiment with #634
Browse files Browse the repository at this point in the history
  • Loading branch information
mplushnikov committed Sep 8, 2019
1 parent ddd060d commit 1923f19
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
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 test-manual/src/main/java/de/plushnikov/bug/issue634/Node.java
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;
}

0 comments on commit 1923f19

Please sign in to comment.