tmlab / majortom

The MaJorToM ( Merging Topic Maps Engine ) project was founded to develop a lightweight, merging and flexible Topic Maps engine satisfying different business use cases. The engine provides a couple of new features above to other engines based on the Topic Maps API version 2.0.
1 stars 1 forks source link

Removing typed if old type is not null? #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Extract of TypedImpl:

public void setType(Topic type) throws ModelConstraintException {
  ...
  Topic oldType = this.type;
  if (oldType != null)
     remove();
  ...
}

In this case the construct will be destroyed if the old type is not null,
or not? Why?

Original issue reported on code.google.com by Sven.Kro...@googlemail.com on 21 Apr 2010 at 9:07

GoogleCodeExporter commented 9 years ago
depends on old repository

Original comment by Sven.Kro...@googlemail.com on 17 Jun 2010 at 8:30