Commit Graph

21208 Commits

Author SHA1 Message Date
Arnaud Heritier
6359642509 Fix dependency management of hibernate-validator-annotation-processor
Closes gh-12210
2018-02-25 11:03:20 +01:00
Stephane Nicoll
f73f283c11 Merge pull request #12211 from igor-suhorukov:master
* pr/12211:
  Polish
2018-02-25 11:00:08 +01:00
igor-suhorukov
98f4692c62 Polish
This commit changes invocations to immediately return the expression
instead of assigning it to a temporary variable. The method name should
be sufficient for callers to know exactly what will be returned.

Closes gh-12211
2018-02-25 10:59:02 +01:00
Andy Wilkinson
c27fa7bf91 Polish ordering of version properties and managed dependencies 2018-02-24 20:19:15 +00:00
Stephane Nicoll
d45910d5b7 Merge pull request #12202 from dreis2211:match-polish
* pr/12202:
  Polish contribution
  Polish
2018-02-24 16:11:07 +01:00
Stephane Nicoll
2641559231 Polish contribution
Closes gh-12202
2018-02-24 16:10:44 +01:00
dreis2211
e2fb093ccf Polish
See gh-12202
2018-02-24 16:09:38 +01:00
Stephane Nicoll
602f733f48 Merge pull request #12205 from izeye:polish-20180224
* pr/12205:
  Polish
2018-02-24 12:00:27 +01:00
Johnny Lim
d441a8a89a Polish
Closes gh-12205
2018-02-24 11:53:25 +01:00
Andy Wilkinson
1314678890 Nest @EnableWebFluxSecurity to avoid overzealous Wildfly warnings
Closes gh-12174
2018-02-23 20:50:20 +00:00
Andy Wilkinson
800ddc5403 Merge branch '1.5.x' 2018-02-23 17:32:26 +00:00
Andy Wilkinson
915eaf3447 Polish 2018-02-23 17:30:10 +00:00
Andy Wilkinson
85c7ed2746 Merge branch '1.5.x' 2018-02-23 17:15:23 +00:00
Andy Wilkinson
746cc0f70b Make JarFile.size() return the number of entries in the jar
Closes gh-12195
2018-02-23 17:09:21 +00:00
Andy Wilkinson
73ad36d817 Merge branch '1.5.x' 2018-02-23 15:34:45 +00:00
Andy Wilkinson
146858505f Synchronize on class loading lock in RestartClassLoader
Closes gh-12171
2018-02-23 15:33:56 +00:00
Andy Wilkinson
782ab2803e Polish documentation regarding target class proxying
Closes gh-12196
2018-02-23 14:52:43 +00:00
Stephane Nicoll
9b61df6a2b Polish 2018-02-23 15:18:46 +01:00
Stephane Nicoll
13b736b1cd Migrate remaining duration-based properties for Rabbit
Closes gh-12192
2018-02-23 15:16:57 +01:00
Andy Wilkinson
48656d0d53 Fix build warnings about use of ${artifactId}
See gh-11994
2018-02-23 13:33:53 +00:00
Stephane Nicoll
cb1eed42b8 Polish 2018-02-23 13:57:19 +01:00
Stephane Nicoll
e1fd9df7b9 Fix usage of management.server.add-application-context-header
Closes gh-12190
2018-02-23 13:57:02 +01:00
Stephane Nicoll
976a23d977 Fix duration unit of spring.messages.cache-duration
Closes gh-12183
2018-02-23 13:38:20 +01:00
Stephane Nicoll
2b729bf114 Fix description of checkpoint-interval
See gh-12181
2018-02-23 13:03:08 +01:00
Stephane Nicoll
92d1c6126b Harmonize accesslog.enabled flag for Undertow
Closes gh-12178
2018-02-23 11:26:33 +01:00
Stephane Nicoll
09ff815f00 Harmonize metadata
Closes gh-12177
2018-02-23 11:02:28 +01:00
Phillip Webb
f9da113943 Exclude FileEditor from binding conversion
Exclude `FileEditor` from the `BindConverter` since it uses slightly
unusual logic to create the file. Specifically, given a value of "."
the editor will locate a `ClassPathResource` then return `getFile()`
from that resource. For back-compatibility, binding should use the
simpler conversion service logic.

Fixes gh-12163
2018-02-22 22:01:37 -08:00
Phillip Webb
7e10d86ed3 Polish 2018-02-22 21:37:31 -08:00
Phillip Webb
3dea6fc645 Fix bind TypeConverter delegation with collections
Update `BindConverter` so that delegation to `SimpleTypeConverter` also
works with Collections and Arrays.

Prior to this commit, conversion that relied on a `PropertyEditor` would
only work for simple types. For example, "String -> Class<?>" would use
the `ClassEditor` but "String -> List<Class<?>>" would fail.

The `BindConverter` now uses a minimal `ConversionService` as an adapter
to the `SimpleTypeConverter`. This allows us to use the same delimited
string conversion logic as the `ApplicationConverter`.

Fixes gh-12166
2018-02-22 21:26:36 -08:00
Phillip Webb
4b9c3c137e Polish Collection.toArray
Consistently use `StringUtils.toStringArray`, `ClassUtils.toClassArray`
or zero length when converting collections to arrays.

Fixes gh-12160
2018-02-22 21:11:30 -08:00
Phillip Webb
358adcd6e3 Merge pull request #12182 from izeye
* pr/12182:
  Rename TestRestTemplateTestContextCustomizer*
2018-02-22 20:26:35 -08:00
Johnny Lim
680287635c Rename TestRestTemplateTestContextCustomizer*
Closes gh-12182
2018-02-22 20:26:14 -08:00
Phillip Webb
cd5266ac03 Polish 2018-02-22 20:25:28 -08:00
Andy Wilkinson
80ac4f85c9 Merge pull request #12172 from Raja Kolli
* gh-12172:
  Upgrade to JUnit Platform 1.1.0
2018-02-22 18:48:38 +00:00
Raja Kolli
8f2eea4dfd Upgrade to JUnit Platform 1.1.0
Closes gh-12172
2018-02-22 18:47:52 +00:00
Brian Clozel
dcf61abe30 Fix Reactive Server auto-configuration ordering
This commit ensures that Tomcat is the first reactive server configured
if the Tomcat dependency is on classpath.

Spring Boot chose Reactor Netty as the default for the reactive web
starter, but the Reactor Netty dependency can be used also for its HTTP
client. In case developers are adding Tomcat, Undertow or Jetty on their
classpath, we must configure those and consider Reactor Netty for the
client only.

Fixes gh-12176
2018-02-22 18:04:53 +01:00
Stephane Nicoll
3fddfee65c Fix default value of endpoint's cache ttl
Closes gh-12173
2018-02-22 13:35:50 +01:00
Stephane Nicoll
56c8bf74b2 Merge pull request #12170 from izeye:assertj
* pr/12170:
  Use isTrue() and isFalse() for AssertJ
2018-02-22 09:56:13 +01:00
Johnny Lim
2fe86da95b Use isTrue() and isFalse() for AssertJ
Closes gh-12170
2018-02-22 09:55:40 +01:00
Stephane Nicoll
865775e955 Fix statsd example
Closes gh-12162
2018-02-22 09:00:13 +01:00
Phillip Webb
5917a58bf1 Add Automatic-Module-Name to manifest file
Update build to add `Automatic-Module-Name` entry to the manifest file.
Also refined a few of the other entries that appear.

Fixes gh-11994
2018-02-21 16:03:13 -08:00
Stephane Nicoll
415f44c02b Merge pull request #12156 from izeye:polish-20180222
* pr/12156:
  Polish
2018-02-21 17:50:36 +01:00
Johnny Lim
50c07d0772 Polish
Closes gh-12156
2018-02-21 17:46:57 +01:00
Stephane Nicoll
75505c78f5 Polish 2018-02-21 17:41:19 +01:00
Andy Wilkinson
e7176c63f5 Stop DataSource initialization from preventing Hikari instrumentation
Closes gh-12129
2018-02-21 10:32:41 +00:00
Madhura Bhave
33be78a91e Add additional profile negation tests
Closes gh-8011
2018-02-21 01:57:03 -08:00
Phillip Webb
4bde6b80ee Refactor YAML profile to deal with "!" profiles
Drop `SpringProfileDocumentMatcher` and replace it with two new
implementations that restrict when YAML documents are loaded. YAML
sections are now restricted both on the specific profile that is being
loaded, and the profiles that are currently accepted.

The `PropertySourceLoader` interface has been refined to include a
predicate that determines when a profile is accepted. The
`ConfigFileApplicationListener` simply delegates the predicate logic to
the `Environment`.

Fixes gh-8011
2018-02-21 01:57:03 -08:00
Stephane Nicoll
b03fd99209 Polish 2018-02-21 10:20:32 +01:00
Stephane Nicoll
d7e000da53 Add missing JMX section 2018-02-21 10:19:41 +01:00
Stephane Nicoll
5a6d45a82c Merge pull request #12150 from izeye:patch-49
* pr/12150:
  Remove an obsolete warning in doc
2018-02-21 09:27:39 +01:00