mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Add @since
This commit is contained in:
parent
9fc9523ce3
commit
b04304b691
@ -41,6 +41,8 @@ import com.googlecode.flyway.core.Flyway;
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Flyway database migrations.
|
||||
*
|
||||
* @author Dave Syer
|
||||
*
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass(Flyway.class)
|
||||
|
@ -26,6 +26,8 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
* Configuration properties for Flyway database migrations.
|
||||
*
|
||||
* @author Dave Syer
|
||||
*
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@ConfigurationProperties(prefix = "flyway", ignoreUnknownFields = false)
|
||||
public class FlywayProperties {
|
||||
|
@ -41,6 +41,8 @@ import org.springframework.util.Assert;
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Liquibase.
|
||||
*
|
||||
* @author Marcel Overdijk
|
||||
*
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass(SpringLiquibase.class)
|
||||
|
@ -26,6 +26,8 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
* Configuration properties to configure {@link SpringLiquibase}.
|
||||
*
|
||||
* @author Marcel Overdijk
|
||||
*
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@ConfigurationProperties(prefix = "liquibase", ignoreUnknownFields = false)
|
||||
public class LiquibaseProperties {
|
||||
|
@ -35,7 +35,7 @@ public class JvmUtilsTests {
|
||||
@Test
|
||||
public void getToolsJar() throws Exception {
|
||||
URL jarUrl = JvmUtils.getToolsJarUrl();
|
||||
System.out.println(jarUrl);
|
||||
// System.out.println(jarUrl);
|
||||
assertThat(jarUrl.toString(), endsWith(".jar"));
|
||||
assertThat(new File(jarUrl.toURI()).exists(), equalTo(true));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user