code: private void assureReturnObjFlagSet(SearchControls controls) {
  		Assert.notNull(controls, "controls must not be null");
  		if (!controls.getReturningObjFlag()) {
  			LOG.debug("The returnObjFlag of supplied SearchControls is not set"
                      + " but a ContextMapper is used - setting flag to true");
  			controls.setReturningObjFlag(true);
  		}
  	}
docs: Make sure the returnObjFlag is set in the supplied SearchControls. Set it
  and log if it's not set.
  
  @param controls the SearchControls to check.