Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
eschleb committed Nov 21, 2024
2 parents 5d753ce + 00e892e commit 0bdd376
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion json2properties-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.namics.oss.magnolia</groupId>
<artifactId>magnolia-dictionary-parent</artifactId>
<version>1.3.2</version>
<version>1.3.3-SNAPSHOT</version>
</parent>

<artifactId>json2properties-generator</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion magnolia-dictionary/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.namics.oss.magnolia</groupId>
<artifactId>magnolia-dictionary-parent</artifactId>
<version>1.3.2</version>
<version>1.3.3-SNAPSHOT</version>
</parent>

<artifactId>magnolia-dictionary</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ protected Optional<String> doGetMessage(final String[] keys, final Locale locale
.flatMap(properties ->
Arrays.stream(keys)
.map(DictionaryUtils::getValidMessageNodeName)
.map(properties::getProperty)
.map(key -> Optional.ofNullable(properties.getProperty(key)))
.flatMap(Optional::stream)
)
.findFirst();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
</component>
</components>

<dependencies>
<dependency>
<name>i18n</name>
<version>*/*</version>
</dependency>
</dependencies>

<repositories>
<repository>
<name>magnolia</name>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.namics.oss.magnolia</groupId>
<artifactId>magnolia-dictionary-parent</artifactId>
<version>1.3.2</version>
<version>1.3.3-SNAPSHOT</version>
<packaging>pom</packaging>

<name>${project.artifactId}</name>
Expand Down

0 comments on commit 0bdd376

Please sign in to comment.