forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request quarkusio#14013 from matejvasek/fix_rec_qrdr
Fix infinite recursion
- Loading branch information
Showing
3 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
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
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
34 changes: 34 additions & 0 deletions
34
.../funqy/funqy-server-common/runtime/src/test/java/io/quarkus/funqy/test/RecursiveType.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,34 @@ | ||
package io.quarkus.funqy.test; | ||
|
||
import java.util.List; | ||
|
||
public class RecursiveType { | ||
private int value; | ||
private RecursiveType parent; | ||
private List<RecursiveType> children; | ||
|
||
public int getValue() { | ||
return value; | ||
} | ||
|
||
public void setValue(int value) { | ||
this.value = value; | ||
} | ||
|
||
public RecursiveType getParent() { | ||
return parent; | ||
} | ||
|
||
public void setParent(RecursiveType parent) { | ||
this.parent = parent; | ||
} | ||
|
||
public List<RecursiveType> getChildren() { | ||
return children; | ||
} | ||
|
||
public void setChildren(List<RecursiveType> children) { | ||
this.children = children; | ||
} | ||
|
||
} |