Skip to content

Commit

Permalink
Make small change
Browse files Browse the repository at this point in the history
  • Loading branch information
julianmendez committed Dec 28, 2023
1 parent d7631b5 commit 420fe80
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public class BornStarter implements OWLOntologyChangeListener, OWLOntologyLoader
*/
public BornStarter(OWLOntologyManager manager) {
this.ontologyManager = Objects.requireNonNull(manager, "Ontology manager must not be null");
this.panel = new BornController(new BornPanel(new BornModelImpl()), this.ontologyManager);
BornModelImpl bornModelImpl = new BornModelImpl();
BornPanel bornPanel = new BornPanel(bornModelImpl);
this.panel = new BornController(bornPanel, this.ontologyManager);
getOWLOntologyManager().addOntologyLoaderListener(this);
getOWLOntologyManager().addOntologyChangeListener(this);
}
Expand Down

0 comments on commit 420fe80

Please sign in to comment.