Esempio n. 1
0
 @Override
 public boolean conflicts(ChangeAddChildDescriptor a, ChangeRemoveChildDescriptor b) {
   return b.getChild().equals(a.getParent());
 }
Esempio n. 2
0
 @Override
 public boolean conflicts(ChangeAddChildDescriptor a, ChangeNameDescriptor b) {
   return (a.getChild().equals(b.getTarget()) || a.getParent().equals(b.getTarget()));
 }
Esempio n. 3
0
 @Override
 public boolean conflicts2(ChangeAddChildDescriptor a, ChangeAddChildDescriptor b) {
   return a.getChild().equals(b.getChild());
 }