| commit | 39f36e9d14c0396ad3c2c7738f67db0db6836523 | [log] [tgz] |
|---|---|---|
| author | Stephan Wahlbrink <sw@wahlbrink.eu> | Wed Apr 21 12:26:38 2021 +0200 |
| committer | Stephan Wahlbrink <sw@wahlbrink.eu> | Wed Apr 21 12:26:38 2021 +0200 |
| tree | cdad4a65002ff0b6641f98fdff85a149b4b3de96 | |
| parent | f57eb4ac7c17fbcd87f8f1881fb8375a36f21444 [diff] |
Correct use of String.toLowerCase/.toUpperCase
diff --git a/docmlet/org.eclipse.statet.docmlet.wikitext.commonmark.core/src/org/eclipse/statet/internal/docmlet/wikitext/commonmark/core/ProcessingContext.java b/docmlet/org.eclipse.statet.docmlet.wikitext.commonmark.core/src/org/eclipse/statet/internal/docmlet/wikitext/commonmark/core/ProcessingContext.java index 6269237..ce01bb8 100644 --- a/docmlet/org.eclipse.statet.docmlet.wikitext.commonmark.core/src/org/eclipse/statet/internal/docmlet/wikitext/commonmark/core/ProcessingContext.java +++ b/docmlet/org.eclipse.statet.docmlet.wikitext.commonmark.core/src/org/eclipse/statet/internal/docmlet/wikitext/commonmark/core/ProcessingContext.java
@@ -125,7 +125,7 @@ } public @Nullable UriWithTitle getNamedUri(final String label) { - return this.links.get(label.toLowerCase()); + return this.links.get(label.toLowerCase(Locale.ROOT)); } public @Nullable String generateHeadingId(final int headingLevel, final @Nullable String headingText) {