コード例 #1
0
 /**
  * Adds the given change to the list of children. The change to be added can be <code>null</code>.
  * Adding a "null" change does nothing.
  *
  * @param change the change to add
  */
 public void add(Change change) {
   if (change != null) {
     Assert.isTrue(change.getParent() == null);
     fChanges.add(change);
     change.setParent(this);
   }
 }