mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Currently `currentFieldType` is an instance variable that is first set and then used by all methods referring to it. We can make it local to each method instead, avoiding possible state problems and improve readability of the code instead.