Commit 1753c773 authored by pcregut's avatar pcregut

Bug 316398 occurs because the method is forgotten in the equality and so...

Bug 316398 occurs because the method is forgotten in the equality and so objects that should not be merge (because they are related to different methods) are merged.
parent 578292d6
......@@ -207,7 +207,8 @@ public class AnnotationSetRefList {
if (obj instanceof AnnotationSetRefList) {
AnnotationSetRefList asr = (AnnotationSetRefList)obj;
return java.util.Arrays.equals(annotationSetItems, asr.annotationSetItems);
// Patch for part of bug316398 :
return method.equals(asr.method) && java.util.Arrays.equals(annotationSetItems, asr.annotationSetItems);
}
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment