- else if (!(this._choiceValue.equals(temp._choiceValue))) \r
- return false;\r
- }\r
- else if (temp._choiceValue != null)\r
+ if (this._choiceValue != temp._choiceValue) {\r
+ thcycle=org.castor.util.CycleBreaker.startingToCycle(this._choiceValue);\r
+ tmcycle=org.castor.util.CycleBreaker.startingToCycle(temp._choiceValue);\r
+ if (thcycle!=tmcycle) {\r
+ if (!thcycle) { org.castor.util.CycleBreaker.releaseCycleHandle(this._choiceValue); };\r
+ if (!tmcycle) { org.castor.util.CycleBreaker.releaseCycleHandle(temp._choiceValue); };\r
+ return false;\r
+ }\r
+ if (!thcycle) {\r
+ if (!this._choiceValue.equals(temp._choiceValue)) {\r
+ org.castor.util.CycleBreaker.releaseCycleHandle(this._choiceValue);\r
+ org.castor.util.CycleBreaker.releaseCycleHandle(temp._choiceValue);\r
+ return false;\r
+ }\r
+ org.castor.util.CycleBreaker.releaseCycleHandle(this._choiceValue);\r
+ org.castor.util.CycleBreaker.releaseCycleHandle(temp._choiceValue);\r
+ }\r
+ }\r
+ } else if (temp._choiceValue != null)\r