Skip to content

Commit

Permalink
Fix MUI_CONTAINSKEY_BEFORE_GET in LjubesicPandzicStemmer
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lutz committed Oct 13, 2020
1 parent 402aa25 commit 24d456b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion extra-analysis-esperanto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.wikimedia.search</groupId>
<artifactId>extra-analysis</artifactId>
<version>6.8.12.0-SNAPSHOT</version>
<version>6.8.12.1-SNAPSHOT</version>
</parent>

<artifactId>extra-analysis-esperanto</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extra-analysis-serbian/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.wikimedia.search</groupId>
<artifactId>extra-analysis</artifactId>
<version>6.8.12.0-SNAPSHOT</version>
<version>6.8.12.1-SNAPSHOT</version>
</parent>

<artifactId>extra-analysis-serbian</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ private String convertCyrrilicToLatinString(String word) {
/* Convert a single Cyrillic character to Latin character or digraph.
*/
private String convertCyrillicToLatinCharacter(char character) {
if (cyr2LatMap.containsKey(character)) {
return cyr2LatMap.get(character);
String latinCharacter = cyr2LatMap.get(character);
if (latinCharacter != null) {
return latinCharacter;
}
return Character.toString(character);
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>org.wikimedia.search</groupId>
<artifactId>extra-analysis</artifactId>
<version>6.8.12.0-SNAPSHOT</version>
<version>6.8.12.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Elasticsearch extra plugins (GPL)</name>
<description>Extra (GPL) Analysis Modules for Elasticsearch.</description>
Expand Down

0 comments on commit 24d456b

Please sign in to comment.