Commit Graph

344 Commits (f3472beed8852b162bb08e47a06d379ed2250728)

Author SHA1 Message Date
dreis2211 f3472beed8 Remove redundant semicolons
Closes gh-10422
7 years ago
Andy Wilkinson edc9a9b269 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 7eb9193862 Tolerate absolute URLs in manifest's Class-Path attribute
Closes gh-10268
7 years ago
Andy Wilkinson dd4dbce816 Fix generation of Javadoc on Java 9
This commit fixes Javadoc generation when building with Java 9. It
upgrades the Javadoc plugin to a version that is Java 9 compatible
(3.0.0-M1) and reworks DevTools to remove usage of @PostConstruct.
The latter change is necessary as @PostConstruct is not visible by
default when building with Java 9 and, therefore its usage causes
Javadoc generation to fail.

Closes gh-10029
7 years ago
Spring Buildmaster 30eb937a83 Next Development Version 7 years ago
Andy Wilkinson fb79684ddd Merge branch '1.5.x' 7 years ago
Andy Wilkinson 8761ef547c Log single message per jar with faulty Class-Path manifest attribute
Previously, when DevTools encountered a jar with a Class-Path manifest
attribute that referenced non-existent files, it would log one
message per entry in the attribute that did not exist. While useful
information, this has proven to be too verbose.

This commit aims to strike a better balances by logging a single
message for an entire jar. The message is a single line that
includes the path to the jar with the faulty Class-Path manifest
attribute and the paths of all of the files that do not exist that are
referenced by the attribute.

Closes gh-10111
7 years ago
Stephane Nicoll a076adbb51 Add deprecated metadata for remote debug support
See gh-10076
7 years ago
Phillip Webb 9127c48fb5 Fixup warnings 7 years ago
Spring Buildmaster 17a5bb0be4 Next development version 7 years ago
Andy Wilkinson 5616915621 Polishing 7 years ago
Spring Buildmaster 41c5c0e7c9 Next development version 7 years ago
Emanuel Campolo 2626a3a795 Use lambdas when possible
Replace anonymous inner classes with lambda declarations (when possible
using method references).

See gh-9781
7 years ago
Emanuel Campolo d16af43664 Replace try with try-with-resources
Update existing try/finally/close blocks to use "try with resources"

See gh-9781
7 years ago
Emanuel Campolo 798fe5ed53 Collapse catch clauses
Use multi-catch for exceptions whenever possible.

See gh-9781
7 years ago
Emanuel Campolo 04fdec6f8b Replace explicit generics with diamond operator
Where possible, explicit generic declarations to use the Java 8 diamond
operator.

See gh-9781
7 years ago
Stephane Nicoll 8cae031441 Remove Devtools remote debugging support
Closes gh-9489
7 years ago
Andy Wilkinson 0b11fb7ce0 Merge branch '1.5.x' 7 years ago
Andy Wilkinson f3b26525f7 Use System.out rather than err for ignored Class-Path entry message
Closes gh-9802
7 years ago
Phillip Webb eb17aa06f9 Merge branch '1.5.x' 7 years ago
Phillip Webb aa57ca7e18 Polish 7 years ago
Stephane Nicoll 1b62f664e4 Merge branch '1.5.x' 8 years ago
Misagh Moayyed 07d09f3f18 Add missing whitespace in log
Closes gh-9597
8 years ago
Andy Wilkinson f26f8176b6 Start building against Spring Session 2.0 snapshots
See gh-9541
8 years ago
Andy Wilkinson 991314c63d Merge branch '1.5.x' 8 years ago
Andy Wilkinson 59122358d3 Clean up and format code 8 years ago
Andy Wilkinson 73b114860c Configure Derby to write its log in the target directory 8 years ago
Phillip Webb b94bb00fa1 Remove need for attached test-jar artifacts
Remove test-jar artifacts from Maven projects and relocate classes. The
majority of utilities now live in the `spring-boot-testsupport` module.

This update will help us to deploy artifacts using the standard Maven
deploy plugin in the future (which doesn't support the filtering of
individual artifacts).

Fixes gh-9493
8 years ago
Andy Wilkinson f7e9ec5f42 Minimise our usage of SocketUtils.findAvailableTcpPort
Closes gh-9382
8 years ago
Andy Wilkinson 06eb24557e Fix HttpTunnelConnectionTests following changes for null handling 8 years ago
Andy Wilkinson 776933a1be Adapt to MockClientHttpResponse no longer accepting a null body 8 years ago
Spring Buildmaster 05d4d0281c Next Development Version 8 years ago
Phillip Webb de66621905 Fix unsupported null argument
Update `MockClientHttpRequestFactory` following upstream Spring
Framework changes that mean `null` is not a valid payload.
8 years ago
Stephane Nicoll 05fbd5dc46 Merge branch '1.5.x' 8 years ago
Stephane Nicoll cbdab9edb3 Add support for custom ProtocolResolver with Devtools
Prior to this commit, custom `ProtocolResolvers` set on the
`ApplicationContext` were lost when Devtools is used as the customized
`ResourceLoader` did not copy any customization made to the default
resource loader.

This commit makes sure to copy any `ProtocolResolver` set on the context.

Closes gh-9331
8 years ago
Phillip Webb 2c7dd9f519 Polish 8 years ago
Phillip Webb 8f7004738b Merge branch '1.5.x' 8 years ago
Phillip Webb b9fd99e268 Polish 8 years ago
Stephane Nicoll 9624bf14c4 Merge branch '1.5.x' 8 years ago
Oleg Vyukov ff3b6b09bd Fix OptionalLiveReloadServer create bean
Closes gh-8595
8 years ago
Stephane Nicoll d48c414a64 Use HikariCP is jdbc and jpa starters
This commit is a companion of what was done in #6013. As HikariCP is
now the default connection pool, the jdbc and jpa starters no longer
provide `tomcat-jdbc`, but rather `HikariCP`.

Closes gh-9392
8 years ago
Madhura Bhave d745b69630 Replace usages of EnvironmentTestUtils 8 years ago
Andy Wilkinson d5438c299c Polish "Use try-with-resources to close resources automatically"
- Apply code formatting
- Use try-with-resources in many other places that were missed in the
  pull request

Closes gh-8045
8 years ago
Andy Wilkinson b71daac58a Remove redundant logic for uninstalling Tomcat's URL stream handler factory
Closes gh-8622
8 years ago
Madhura Bhave 7efbedc0dc Use new configuration properties in devtools
Update `spring-boot-devtools` to use the new configuration properties
support.

See gh-9000
8 years ago
Spring Buildmaster 9768b0a8c2 Next Development Version 8 years ago
dreis f3bbbc4530 Use JDK hashCode() variants for primitives
See gh-8768
8 years ago
Stephane Nicoll 5b92a0278b Merge branch '1.5.x' 8 years ago
Stephane Nicoll 934d33685a Polish
See gh-8879
8 years ago
Stephane Nicoll dbe388756a Merge branch '1.5.x' 8 years ago