Skip to content

Commit

Permalink
Merge pull request #1104 from protegeproject/dont-override-user-exten…
Browse files Browse the repository at this point in the history
…sion

Do not override user-provided extension.
gouttegd authored Feb 16, 2023
2 parents 91b9cdf + 2b05ef2 commit fb93698
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -389,9 +389,6 @@ private File getSaveAsOWLFile(@Nonnull OWLOntology ont, @Nonnull OWLDocumentForm
if (extensionIndex == -1) {
file = new File(file.toString() + extensions.get(0));
}
else if (! extensions.contains(file.toString().substring(extensionIndex))) {
file = new File(file.toString() + extensions.get(0));
}
}
return file;
}

0 comments on commit fb93698

Please sign in to comment.