• Phillip Webb's avatar
    Rationalize multi-document config file handling · c0d79b92
    Phillip Webb authored
    Update `PropertySourceLoader` so that it no longer needs to deal with
    matching multi-document files using the `spring.profile` property. The
    loader now simply returns one or more `PropertSource` instances for a
    given `Resource`.
    
    All property matching now occurs in the `ConfigFileApplicationListener`.
    This allows document processing logic to be contained in a single place,
    and allows us to rationalize the algorithm so that negative matching
    profiles are processed last.
    
    Fixes gh-12159
    c0d79b92
Name
Last commit
Last update
..
java/org/springframework/boot/context/properties/migrator Loading commit data...
resources Loading commit data...