ModelData#get() already returns null if the property doesn't exist, so there isn't a need to call has explicitly. Since calling both has and get requires looking up the property from the underlying map twice, this should slightly improve performance of getQuads (but I did not profile, and the improvement may be insignificant).
This is just a drive-by PR because I happened to be reading the file and it seemed like an obvious cleanup.
ModelData#get()
already returnsnull
if the property doesn't exist, so there isn't a need to callhas
explicitly. Since calling bothhas
andget
requires looking up the property from the underlying map twice, this should slightly improve performance ofgetQuads
(but I did not profile, and the improvement may be insignificant).This is just a drive-by PR because I happened to be reading the file and it seemed like an obvious cleanup.