Upgrade to Animal Sniffer 1.16

This commit is contained in:
Juergen Hoeller
2018-03-05 13:54:55 +01:00
parent f7898951bd
commit 017f2a8ccc
2 changed files with 4 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ configure(allprojects) { project ->
ext.romeVersion = "1.7.4" ext.romeVersion = "1.7.4"
ext.slf4jVersion = "1.7.21" ext.slf4jVersion = "1.7.21"
ext.snakeyamlVersion = "1.17" ext.snakeyamlVersion = "1.17"
ext.snifferVersion = "1.15" ext.snifferVersion = "1.16"
ext.testngVersion = "6.9.10" ext.testngVersion = "6.9.10"
ext.tiles2Version = "2.2.2" ext.tiles2Version = "2.2.2"
ext.tiles3Version = "3.0.7" ext.tiles3Version = "3.0.7"

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2013 the original author or authors. * Copyright 2002-2017 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@@ -20,6 +20,7 @@ import java.time.format.DateTimeFormatter;
import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.InitializingBean;
import org.springframework.lang.UsesJava8;
/** /**
* {@link FactoryBean} that creates a JSR-310 {@link java.time.format.DateTimeFormatter}. * {@link FactoryBean} that creates a JSR-310 {@link java.time.format.DateTimeFormatter}.
@@ -33,6 +34,7 @@ import org.springframework.beans.factory.InitializingBean;
* @see #setTimeStyle * @see #setTimeStyle
* @see DateTimeFormatterFactory * @see DateTimeFormatterFactory
*/ */
@UsesJava8
public class DateTimeFormatterFactoryBean extends DateTimeFormatterFactory public class DateTimeFormatterFactoryBean extends DateTimeFormatterFactory
implements FactoryBean<DateTimeFormatter>, InitializingBean { implements FactoryBean<DateTimeFormatter>, InitializingBean {