|
@@ -163,11 +163,13 @@ public class Sort extends BaseResourceCollectionWrapper { |
|
|
if (isReference()) { |
|
|
if (isReference()) { |
|
|
super.dieOnCircularReference(stk, p); |
|
|
super.dieOnCircularReference(stk, p); |
|
|
} else { |
|
|
} else { |
|
|
for (Iterator i = comp.v.iterator(); i.hasNext();) { |
|
|
|
|
|
Object o = i.next(); |
|
|
|
|
|
if (o instanceof DataType) { |
|
|
|
|
|
stk.push(o); |
|
|
|
|
|
invokeCircularReferenceCheck((DataType) o, stk, p); |
|
|
|
|
|
|
|
|
if (comp.v != null && comp.v.size() > 0) { |
|
|
|
|
|
for (Iterator i = comp.v.iterator(); i.hasNext();) { |
|
|
|
|
|
Object o = i.next(); |
|
|
|
|
|
if (o instanceof DataType) { |
|
|
|
|
|
stk.push(o); |
|
|
|
|
|
invokeCircularReferenceCheck((DataType) o, stk, p); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
setChecked(true); |
|
|
setChecked(true); |
|
|