1. 10 May, 2017 9 commits
    • Andy Wilkinson's avatar
      Upgrade to Spring Cloud Connectors 2.0.0.M1 · 8f1cf0ce
      Andy Wilkinson authored
      Closes gh-8968
      8f1cf0ce
    • Phillip Webb's avatar
      Reduce ConfigurationPropertyName memory usage · 961d41f6
      Phillip Webb authored
      Significantly rework `ConfigurationPropertyName` in an attempt to reduce
      the amount of memory and garbage produced. The name elements are now
      stored as CharSequences and whenever possible subsequences are used.
      
      This helps to reduce the memory footprint since the underlying char
      array can be shared between the source string, and the individual
      elements.
      
      For example: `ConfigurationProperty.of("foo.bar.baz")` will return
      a name that provides access to the elements `foo`, `bar` and `baz`.
      However, these three names all share the same char[], just using
      different offsets and lengths.
      
      See gh-9000
      961d41f6
    • Phillip Webb's avatar
      Polish ConfigurationPropertySource support · d969ebad
      Phillip Webb authored
      Improve ConfigurationPropertySource support by reworking some of the
      stream calls based on advice offered by Tagir Valeev from JetBrains.
      
      Also improved ConfigurationPropertySource.containsDescendantOf so that
      it returns an enum rather than an Optional<Boolean> (again based on
      feedback from Tagir).
      
      See gh-9000
      d969ebad
    • Phillip Webb's avatar
      Rework ConfigurationPropertySources · fa4de135
      Phillip Webb authored
      Rework the ConfigurationPropertySources and related adapter classes to
      help with performance. The ConfigurationPropertySources class now only
      monitors for updates when `.attach` is used. The `.get` methods now
      return the adapted version, but no longer checks to see if sources have
      been added or removed on each call.
      
      This commit also fixes a few caching issues and makes both the
      `PropertyMapper` implementations true static singletons.
      
      See gh-9000
      fa4de135
    • Phillip Webb's avatar
      Refactor ConfigFileApplicationListener · 133f11df
      Phillip Webb authored
      Refactor `ConfigFileApplicationListener` to use a `MultiValueMap` when
      loading sources. The helps to simplify the code and removes the need
      for the inner `LoadedPropertySources` class. We're also able to delete
      the now unused `EnumerableCompositePropertySource` and
      `PropertySourcesLoader` classes.
      
      Fixes gh-9144
      133f11df
    • Phillip Webb's avatar
      Formatting · 5cad11d6
      Phillip Webb authored
      5cad11d6
    • Phillip Webb's avatar
      Merge branch '1.5.x' · fd2e3b35
      Phillip Webb authored
      fd2e3b35
    • Phillip Webb's avatar
      Update copyright header dates · 931ce15d
      Phillip Webb authored
      931ce15d
    • Phillip Webb's avatar
      Formatting · 4a7dcc87
      Phillip Webb authored
      4a7dcc87
  2. 09 May, 2017 11 commits
  3. 08 May, 2017 1 commit
  4. 07 May, 2017 2 commits
  5. 06 May, 2017 4 commits
  6. 05 May, 2017 9 commits
  7. 04 May, 2017 4 commits