question: public void updateTagKeyOptions ( ) { String currentText = keyBox . getText ( ) ; List < String > tagKeys = influxService . getTags ( measurementBox . getText ( ) ) ; if ( null != tagKeys ) { keyBox . setItems ( tagKeys . toArray ( new String [ tagKeys . size ( ) ] ) ) ; } keyBox . setText ( currentText ) ; }
target:  Updates the selection options for the key drop-down box depending on the selection in the measurement box.