Fix string comparison in Wikitext exporter
This commit is contained in:
parent
a1b2c9b683
commit
cfc0b95cd1
@ -332,7 +332,7 @@ public class WikitextImporter extends TabularImportingParserBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// store the reference for later use
|
// store the reference for later use
|
||||||
if (currentReference != null && currentReferenceName != "") {
|
if (currentReference != null && ! "".equals(currentReferenceName)) {
|
||||||
namedReferences.put(currentReferenceName, currentReference);
|
namedReferences.put(currentReferenceName, currentReference);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user