code: protected void configureEnvironment(ConfigurableEnvironment environment,
  			String[] args) {
  		if (this.addConversionService) {
  			ConversionService conversionService = ApplicationConversionService
  					.getSharedInstance();
  			environment.setConversionService(
  					(ConfigurableConversionService) conversionService);
  		}
  		configurePropertySources(environment, args);
  		configureProfiles(environment, args);
  	}
docs: Template method delegating to
  {@link #configurePropertySources(ConfigurableEnvironment, String[])} and
  {@link #configureProfiles(ConfigurableEnvironment, String[])} in that order.
  Override this method for complete control over Environment customization, or one of
  the above for fine-grained control over property sources or profiles, respectively.
  @param environment this application's environment
  @param args arguments passed to the {@code run} method
  @see #configureProfiles(ConfigurableEnvironment, String[])
  @see #configurePropertySources(ConfigurableEnvironment, String[])