Fix string comparison in Wikitext exporter

This commit is contained in:
Antonin Delpeuch 2017-09-23 23:13:18 +01:00
parent a1b2c9b683
commit cfc0b95cd1

View File

@ -332,7 +332,7 @@ public class WikitextImporter extends TabularImportingParserBase {
}
// store the reference for later use
if (currentReference != null && currentReferenceName != "") {
if (currentReference != null && ! "".equals(currentReferenceName)) {
namedReferences.put(currentReferenceName, currentReference);
}
}