@Override public boolean isSet() { return isSet; } @Override public void unset() { super.unset(); if (isNotificationRequired()) { boolean oldIsSet = isSet; isSet = false; owner.eNotify(createNotification(Notification.UNSET, oldIsSet, false)); } else { isSet = false;
@Override public boolean isSet() { return isSet; } @Override public void unset() { super.unset(); if (isNotificationRequired()) { boolean oldIsSet = isSet; isSet = false; owner.eNotify(createNotification(Notification.UNSET, oldIsSet, false)); } else { isSet = false;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/EObjectContainmentWithInverseEList.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/EObjectWithInverseEList.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
@Override
1
@Override
2
    public boolean isSet()
2
    public boolean isSet()
3
    {
3
    {
4
      return isSet;
4
      return isSet;
5
    }
5
    }
6
    @Override
6
    @Override
7
    public void unset()
7
    public void unset()
8
    {
8
    {
9
      super.unset();
9
      super.unset();
10
      if (isNotificationRequired())
10
      if (isNotificationRequired())
11
      {
11
      {
12
        boolean oldIsSet = isSet;
12
        boolean oldIsSet = isSet;
13
        isSet = false;
13
        isSet = false;
14
        owner.eNotify(createNotification(Notification.UNSET, oldIsSet, false));
14
        owner.eNotify(createNotification(Notification.UNSET, oldIsSet, false));
15
      }
15
      }
16
      else
16
      else
17
      {
17
      {
18
        isSet = false;
18
        isSet = false;
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0