azure-spring-boot/src/main/java/com/microsoft/azure/spring/cloundfoundry/environment/VcapResult.java
@SuppressFBWarnings("UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
    private void populateProperties(ConfigurableEnvironment environment, VcapPojo[] pojos) {
        final Map<String, Object> map = new HashMap<>();
        populateDefaultStorageProperties(map,
                findPojoForServiceType(VcapServiceType.AZURE_STORAGE, pojos));
        populateDefaultServiceBusProperties(map,
                findPojoForServiceType(VcapServiceType.AZURE_SERVICEBUS, pojos));
        populateDefaultDocumentDBProperties(map,
                findPojoForServiceType(VcapServiceType.AZURE_DOCUMENTDB, pojos));
        addOrReplace(environment.getPropertySources(), map);
    }
@SuppressFBWarnings("UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR")
    private void populateProperties(ConfigurableEnvironment environment, VcapPojo[] pojos) {
        final Map<String, Object> map = new HashMap<>();
        populateDefaultStorageProperties(map,
                findPojoForServiceType(VcapServiceType.AZURE_STORAGE, pojos));
        populateDefaultServiceBusProperties(map,
                findPojoForServiceType(VcapServiceType.AZURE_SERVICEBUS, pojos));
        populateDefaultDocumentDBProperties(map,
                findPojoForServiceType(VcapServiceType.AZURE_DOCUMENTDB, pojos));
        addOrReplace(environment.getPropertySources(), map);
    }
@ SuppressFBWarnings ( "UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR" ) private void populateProperties ( ConfigurableEnvironment environment , VcapPojo [ ] pojos ) { final Map < String , Object > map = new HashMap <> ( ) ; populateDefaultStorageProperties ( map , findPojoForServiceType ( VcapServiceType . AZURE_STORAGE , pojos ) ) ; populateDefaultServiceBusProperties ( map , findPojoForServiceType ( VcapServiceType . AZURE_SERVICEBUS , pojos ) ) ; populateDefaultDocumentDBProperties ( map , findPojoForServiceType ( VcapServiceType . AZURE_DOCUMENTDB , pojos ) ) ; addOrReplace ( environment . getPropertySources ( ) , map ) ; }
Populates default properties during @EnvironmentPostProcessor processing.
<p>
Note that this class gets invoked before Spring creates the logging
subsystem, so we just use System.out.println instead.
Populates default properties during