turms-im / turms

🕊️ The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs
Apache License 2.0
1.75k stars 270 forks source link

DictionaryParser#parseExtendedWord as the turms document can npe #1408

Open zhaieryuan opened 7 months ago

zhaieryuan commented 7 months ago

image

上述所有列中,除了word列必须存在之外,其他所有列都可以不存在.

image

this line code need fix

zhaieryuan commented 7 months ago

image

and also the document for examle is wrong !!

zhaieryuan commented 7 months ago

image

JamesChenX commented 7 months ago

The code is quite simple, and no NPE will occur.

image