Skip to content

Commit

Permalink
Closes #770
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhorridge committed Mar 15, 2019
1 parent ede984a commit 81d2d79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public Set<OWLClassExpression> getClassExpressions() {
try {
if (editor.isWellFormed()) {
OWLClassExpression owlDescription = editor.createObject();
OWLExpressionUserCache.getInstance(getOWLEditorKit().getModelManager()).add(owlDescription, editor.getText());
OWLExpressionUserCache.getInstance(getOWLEditorKit().getModelManager()).add(owlDescription, editor.getText().trim());
return Collections.singleton(owlDescription);
}
else {
Expand Down

0 comments on commit 81d2d79

Please sign in to comment.