Skip to content

Commit

Permalink
#663 [;] helyett [,] lett a separator
Browse files Browse the repository at this point in the history
  • Loading branch information
cserhatit committed May 15, 2024
1 parent a5452be commit df19172
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ public CatalogProducer() {
*/
@Produces
public Catalog publicCatalogResolver() throws BaseException {
Optional<String> xmlCatalogPath = applicationConfiguration.getOptionalString(IConfigKey.CATALOG_XML_PATH);
String[] catalogPaths = xmlCatalogPath
.orElseThrow(() -> new TechnicalException(MessageFormat.format("The config of [{0}] not found!", IConfigKey.CATALOG_XML_PATH))).split(";");
Optional<String[]> configCatalogPaths = applicationConfiguration.getOptionalValue(IConfigKey.CATALOG_XML_PATH, String[].class);
String[] catalogPaths = configCatalogPaths
.orElseThrow(() -> new TechnicalException(MessageFormat.format("The config of [{0}] not found!", IConfigKey.CATALOG_XML_PATH)));
List<URI> catalogUris = new ArrayList<>();

for (String catalogPath : catalogPaths) {
Expand Down
2 changes: 1 addition & 1 deletion docs/en/common/core/coffee-rest.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ After that we are ready and the XSD Catalog will do the XSD schema reading.

[NOTE]
====
You can add multiple catalog file separated with `;`
You can add multiple catalog file separated with `,`
====

Expand Down
2 changes: 1 addition & 1 deletion docs/en/migration/migration270to280.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ coff:ee v2.7.0 -> v2.8.0 migration description, news, changes

=== coffee-rest

* Support of multiple xml catalog file separated with `;`
* Support of multiple xml catalog file separated with `,`
* For marshalling, you can give `JaxbTool` multiple classes to add to `JAXBContext`

==== Migration
Expand Down
2 changes: 1 addition & 1 deletion docs/hu/common/core/coffee-rest.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ Ezekután készen is vagyunk és XSD Catalog szerint fog történni a XSD séma

[NOTE]
====
Több katalógus fájl is megadható `;` jellel elválasztva
Több katalógus fájl is megadható `,` jellel elválasztva
====

Expand Down
2 changes: 1 addition & 1 deletion docs/hu/migration/migration270to280.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ coff:ee v2.7.0 -> v2.8.0 migrációs leírás, újdonságok, változások leír

=== coffee-rest

* Több xml katalógus fájl támogatása `;` jellel elválasztva
* Több xml katalógus fájl támogatása `,` jellel elválasztva
* Marshalling esetén megadható a `JaxbTool`-nak több osztály, amit hozzá szeretnénk adni a `JAXBContext`-hez

==== Migration
Expand Down

0 comments on commit df19172

Please sign in to comment.