Skip to content

Commit

Permalink
Thesaurus / Improve support of EU publication office SKOS format / Fi…
Browse files Browse the repository at this point in the history
…x codeql.
  • Loading branch information
fxprunayre committed Jan 30, 2024
1 parent 9c048a0 commit ae5fc59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ public String uploadThesaurus(
Log.debug(Geonet.THESAURUS, "Uploading thesaurus: " + fname);

// Rename .xml to .rdf for all thesaurus
fname = fname.replaceAll(Pattern.quote(extension), "rdf");
fname = fname.replace(extension, "rdf");
uploadThesaurus(rdfFile,
getStylesheetForExtension(stylesheet, extension),
context, fname, type.toString(), dir);
Expand Down

0 comments on commit ae5fc59

Please sign in to comment.