Fix infinite loop in FieldValues

Update `FieldValues` test object so that it doesn't cause an infinite
loop if it is actually created.

See gh-22040
This commit is contained in:
Konrado85 2020-06-20 23:30:19 +02:00 committed by Phillip Webb
parent 97af782ee6
commit 39a853c57b

View File

@ -108,7 +108,7 @@ public class FieldValues {
private Integer[] integerArray = new Integer[] { 42, 24 };
private FieldValues[] unknownArray = new FieldValues[] { new FieldValues() };
private FieldValues[] unknownArray;
private Duration durationNone;