extract method to eliminate duplicate code
extract method to eliminate duplicate code

codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client,codarchlab/idai-field-client