mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
json schema: don't modify the original collection
This commit is contained in:
@@ -280,7 +280,7 @@ public class JsonSchemaObject {
|
||||
if (other.myNot != null) myNot = other.myNot;
|
||||
if (other.myIfThenElse != null) {
|
||||
if (myIfThenElse == null) myIfThenElse = other.myIfThenElse;
|
||||
else myIfThenElse.addAll(other.myIfThenElse);
|
||||
else myIfThenElse = ContainerUtil.concat(myIfThenElse, other.myIfThenElse);
|
||||
}
|
||||
myShouldValidateAgainstJSType |= other.myShouldValidateAgainstJSType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user