From dc5c5702f8b2e3019516631fd7d4cff2e79ea478 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 28 Jun 2019 21:16:27 -0700 Subject: [PATCH 1/2] Enforce stricter javadoc @Since rules See gh-17360 --- spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml | 1 + spring-boot-parent/src/checkstyle/checkstyle.xml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml b/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml index d2deda4063c..96a7accdfd9 100644 --- a/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml +++ b/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml @@ -28,4 +28,5 @@ + diff --git a/spring-boot-parent/src/checkstyle/checkstyle.xml b/spring-boot-parent/src/checkstyle/checkstyle.xml index 7eba2cff9e0..602c6b9fe24 100644 --- a/spring-boot-parent/src/checkstyle/checkstyle.xml +++ b/spring-boot-parent/src/checkstyle/checkstyle.xml @@ -7,5 +7,9 @@ + + + + From d91f27e11fd493b1772553223a2125c3cb7fb369 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 28 Jun 2019 17:40:56 -0700 Subject: [PATCH 2/2] Fix Javadoc @Since checkstle violations Apply consistent `@Since` tags and retrofit the existing code using a best guess from the git history. Closes gh-17360 --- .../boot/actuate/audit/AuditEvent.java | 1 + .../actuate/audit/AuditEventRepository.java | 3 +- .../audit/InMemoryAuditEventRepository.java | 3 +- .../audit/listener/AuditApplicationEvent.java | 1 + .../actuate/audit/listener/AuditListener.java | 3 +- .../autoconfigure/ActuatorMetricWriter.java | 1 + .../autoconfigure/AuditAutoConfiguration.java | 1 + .../autoconfigure/CrshAutoConfiguration.java | 1 + .../EndpointAutoConfiguration.java | 1 + .../EndpointMBeanExportAutoConfiguration.java | 1 + .../EndpointMBeanExportProperties.java | 3 +- .../EndpointWebMvcAutoConfiguration.java | 1 + ...dpointWebMvcChildContextConfiguration.java | 1 + .../JolokiaAutoConfiguration.java | 1 + .../autoconfigure/JolokiaProperties.java | 3 +- .../ManagementServerProperties.java | 1 + ...mentServerPropertiesAutoConfiguration.java | 1 + ...anagementWebSecurityAutoConfiguration.java | 1 + .../MetricFilterAutoConfiguration.java | 1 + .../MetricRepositoryAutoConfiguration.java | 3 +- .../autoconfigure/ShellProperties.java | 1 + .../TraceRepositoryAutoConfiguration.java | 3 +- .../TraceWebFilterAutoConfiguration.java | 1 + .../actuate/endpoint/AbstractEndpoint.java | 1 + .../AutoConfigurationReportEndpoint.java | 1 + .../boot/actuate/endpoint/BeansEndpoint.java | 1 + ...ConfigurationPropertiesReportEndpoint.java | 1 + .../boot/actuate/endpoint/DumpEndpoint.java | 1 + .../boot/actuate/endpoint/Endpoint.java | 3 +- .../actuate/endpoint/EnvironmentEndpoint.java | 1 + .../boot/actuate/endpoint/HealthEndpoint.java | 1 + .../boot/actuate/endpoint/InfoEndpoint.java | 3 +- .../endpoint/MetricReaderPublicMetrics.java | 3 +- .../actuate/endpoint/MetricsEndpoint.java | 3 +- .../boot/actuate/endpoint/PublicMetrics.java | 3 +- .../endpoint/RequestMappingEndpoint.java | 1 + .../RichGaugeReaderPublicMetrics.java | 2 +- .../actuate/endpoint/ShutdownEndpoint.java | 1 + .../boot/actuate/endpoint/TraceEndpoint.java | 3 +- .../endpoint/jmx/DataEndpointMBean.java | 1 + .../actuate/endpoint/jmx/EndpointMBean.java | 1 + .../endpoint/jmx/EndpointMBeanExporter.java | 1 + .../endpoint/jmx/ShutdownEndpointMBean.java | 1 + .../mvc/AbstractEndpointHandlerMapping.java | 1 + .../endpoint/mvc/EndpointHandlerMapping.java | 1 + .../endpoint/mvc/EndpointMvcAdapter.java | 3 +- .../endpoint/mvc/EnvironmentMvcEndpoint.java | 1 + .../endpoint/mvc/JolokiaMvcEndpoint.java | 1 + .../endpoint/mvc/ManagementErrorEndpoint.java | 1 + .../endpoint/mvc/MetricsMvcEndpoint.java | 3 +- .../actuate/endpoint/mvc/MvcEndpoint.java | 1 + .../actuate/endpoint/mvc/MvcEndpoints.java | 1 + .../endpoint/mvc/NamePatternFilter.java | 1 - .../endpoint/mvc/ShutdownMvcEndpoint.java | 1 + .../health/ApplicationHealthIndicator.java | 3 +- .../boot/actuate/health/HealthIndicator.java | 3 +- .../actuate/health/LdapHealthIndicator.java | 4 +-- .../boot/actuate/metrics/CounterService.java | 3 +- .../boot/actuate/metrics/GaugeService.java | 3 +- .../boot/actuate/metrics/Metric.java | 1 + .../dropwizard/DropwizardMetricServices.java | 1 + .../metrics/reader/CompositeMetricReader.java | 3 +- .../actuate/metrics/reader/MetricReader.java | 3 +- .../reader/MetricRegistryMetricReader.java | 1 + .../metrics/reader/PrefixMetricReader.java | 3 +- .../repository/InMemoryMetricRepository.java | 1 + .../metrics/repository/MetricRepository.java | 3 +- .../repository/MultiMetricRepository.java | 3 +- .../redis/RedisMetricRepository.java | 1 + .../redis/RedisMultiMetricRepository.java | 1 + .../rich/InMemoryRichGaugeRepository.java | 3 +- .../boot/actuate/metrics/rich/RichGauge.java | 1 + .../actuate/metrics/rich/RichGaugeReader.java | 3 +- .../metrics/rich/RichGaugeRepository.java | 3 +- .../util/SimpleInMemoryRepository.java | 1 + .../metrics/writer/CompositeMetricWriter.java | 3 +- .../metrics/writer/DefaultCounterService.java | 3 +- .../metrics/writer/DefaultGaugeService.java | 1 + .../boot/actuate/metrics/writer/Delta.java | 3 +- .../writer/MessageChannelMetricWriter.java | 3 +- .../actuate/metrics/writer/MetricWriter.java | 3 +- .../writer/MetricWriterMessageHandler.java | 1 + .../security/AuthenticationAuditListener.java | 1 + .../security/AuthorizationAuditListener.java | 1 + .../trace/InMemoryTraceRepository.java | 3 +- .../boot/actuate/trace/Trace.java | 3 +- .../boot/actuate/trace/TraceRepository.java | 3 +- .../actuate/trace/WebRequestTraceFilter.java | 1 + .../AutoConfigurationPackages.java | 1 + .../autoconfigure/AutoConfigureAfter.java | 3 +- .../autoconfigure/AutoConfigureBefore.java | 3 +- .../EnableAutoConfiguration.java | 3 +- .../MessageSourceAutoConfiguration.java | 1 + .../PropertyPlaceholderAutoConfiguration.java | 1 + ...tadataReaderFactoryContextInitializer.java | 1 - .../RabbitAnnotationDrivenConfiguration.java | 1 - .../amqp/RabbitAutoConfiguration.java | 1 + .../autoconfigure/amqp/RabbitProperties.java | 1 + .../aop/AopAutoConfiguration.java | 1 + .../batch/BasicBatchConfigurer.java | 1 + .../batch/BatchAutoConfiguration.java | 1 + .../batch/BatchDatabaseInitializer.java | 1 + .../batch/JobExecutionEvent.java | 3 +- .../batch/JobExecutionExitCodeGenerator.java | 1 + .../batch/JobLauncherCommandLineRunner.java | 1 + .../autoconfigure/cache/CacheCondition.java | 1 - .../cache/CaffeineCacheConfiguration.java | 1 - .../cache/EhCacheCacheConfiguration.java | 1 - .../cache/GenericCacheConfiguration.java | 3 +- .../cache/GuavaCacheConfiguration.java | 1 - .../cache/HazelcastCacheConfiguration.java | 1 - .../cache/JCacheCacheConfiguration.java | 1 - .../cache/NoOpCacheConfiguration.java | 3 +- .../cache/RedisCacheConfiguration.java | 1 - .../cache/SimpleCacheConfiguration.java | 1 - .../condition/BeanTypeRegistry.java | 1 - .../condition/ConditionEvaluationReport.java | 1 + .../condition/ConditionOutcome.java | 1 + .../condition/ConditionalOnBean.java | 3 +- .../condition/ConditionalOnClass.java | 3 +- .../condition/ConditionalOnExpression.java | 3 +- .../condition/ConditionalOnMissingBean.java | 3 +- .../condition/ConditionalOnMissingClass.java | 3 +- .../ConditionalOnNotWebApplication.java | 3 +- .../condition/ConditionalOnResource.java | 3 +- .../ConditionalOnWebApplication.java | 3 +- .../condition/OnJavaCondition.java | 1 - .../condition/OnJndiCondition.java | 1 - .../condition/OnPropertyCondition.java | 1 - .../condition/SearchStrategy.java | 3 +- .../condition/SpringBootCondition.java | 1 + .../MessageSourceAutoConfiguration.java | 1 + .../PropertyPlaceholderAutoConfiguration.java | 3 +- ...tRepositoryConfigurationSourceSupport.java | 1 + ...draRepositoriesAutoConfigureRegistrar.java | 1 - .../ElasticsearchRepositoriesRegistrar.java | 1 - .../jpa/JpaRepositoriesAutoConfiguration.java | 1 + .../data/ldap/LdapRepositoriesRegistrar.java | 3 +- .../MongoRepositoriesAutoConfiguration.java | 1 + .../data/redis/RedisAutoConfiguration.java | 1 + .../data/redis/RedisProperties.java | 3 +- ...disRepositoriesAutoConfigureRegistrar.java | 1 - .../data/solr/SolrRepositoriesRegistrar.java | 3 +- .../flyway/FlywayMigrationStrategy.java | 3 +- ...ediaHttpMessageConverterConfiguration.java | 1 + .../jdbc/DataSourceAutoConfiguration.java | 1 + .../jdbc/DataSourceInitializer.java | 1 - .../DataSourceInitializerPostProcessor.java | 1 - ...ceTransactionManagerAutoConfiguration.java | 1 + .../jdbc/EmbeddedDataSourceConfiguration.java | 3 +- .../jdbc/EmbeddedDatabaseConnection.java | 1 + .../TomcatDataSourcePoolMetadata.java | 1 + .../jersey/JerseyAutoConfiguration.java | 1 + .../jms/JmsAnnotationDrivenConfiguration.java | 1 - .../jms/JmsAutoConfiguration.java | 1 + .../boot/autoconfigure/jms/JmsProperties.java | 1 + ...ctiveMQConnectionFactoryConfiguration.java | 1 - .../ActiveMQConnectionFactoryFactory.java | 1 - .../jms/activemq/ActiveMQProperties.java | 1 + ...iveMQXAConnectionFactoryConfiguration.java | 1 - ...temisXAConnectionFactoryConfiguration.java | 1 - .../jmx/JmxAutoConfiguration.java | 1 + .../KafkaAnnotationDrivenConfiguration.java | 1 - ...ConfigurationReportLoggingInitializer.java | 1 + .../DeviceResolverAutoConfiguration.java | 1 + .../mongo/MongoAutoConfiguration.java | 1 + .../autoconfigure/mongo/MongoProperties.java | 1 + .../jpa/DataSourceInitializedPublisher.java | 1 - .../jpa/HibernateJpaAutoConfiguration.java | 1 + .../orm/jpa/JpaBaseConfiguration.java | 1 + .../reactor/ReactorAutoConfiguration.java | 3 +- .../AuthenticationManagerConfiguration.java | 1 + .../FallbackWebSecurityAutoConfiguration.java | 3 +- .../security/SecurityAutoConfiguration.java | 1 + .../security/SecurityDataConfiguration.java | 2 +- .../SecurityFilterAutoConfiguration.java | 2 +- .../security/SecurityPrerequisite.java | 3 +- .../security/SecurityProperties.java | 1 + .../SpringBootWebSecurityConfiguration.java | 1 + .../client/OAuth2SsoCustomConfiguration.java | 1 + .../thymeleaf/ThymeleafAutoConfiguration.java | 1 + .../jta/AtomikosJtaConfiguration.java | 1 - .../jta/BitronixJtaConfiguration.java | 1 - .../transaction/jta/JndiJtaConfiguration.java | 1 - .../web/BasicErrorController.java | 1 + .../DispatcherServletAutoConfiguration.java | 1 + ...ddedServletContainerAutoConfiguration.java | 1 + .../autoconfigure/web/ErrorController.java | 3 +- .../web/ErrorMvcAutoConfiguration.java | 1 + ...sonHttpMessageConvertersConfiguration.java | 1 - .../web/HttpMessageConverters.java | 1 + ...ttpMessageConvertersAutoConfiguration.java | 1 + ...sonHttpMessageConvertersConfiguration.java | 1 - .../web/MultipartAutoConfiguration.java | 1 + .../autoconfigure/web/ServerProperties.java | 1 + .../ServerPropertiesAutoConfiguration.java | 1 + .../web/WebMvcAutoConfiguration.java | 1 + .../autoconfigure/web/WebMvcProperties.java | 2 +- .../websocket/WebSocketAutoConfiguration.java | 1 + .../boot/cli/DefaultCommandFactory.java | 3 +- .../springframework/boot/cli/SpringCli.java | 1 + .../PackagedSpringApplicationLauncher.java | 1 + .../boot/cli/command/AbstractCommand.java | 3 +- .../boot/cli/command/Command.java | 3 +- .../boot/cli/command/CommandException.java | 3 +- .../boot/cli/command/CommandFactory.java | 3 +- .../boot/cli/command/CommandRunner.java | 1 + .../NoHelpCommandArgumentsException.java | 3 +- .../cli/command/NoSuchCommandException.java | 3 +- .../cli/command/OptionParsingCommand.java | 1 + .../boot/cli/command/archive/JarCommand.java | 1 + .../boot/cli/command/core/HelpCommand.java | 1 + .../boot/cli/command/core/HintCommand.java | 1 + .../boot/cli/command/core/VersionCommand.java | 3 +- .../boot/cli/command/grab/GrabCommand.java | 1 + .../boot/cli/command/init/Dependency.java | 3 +- .../cli/command/init/InitializrService.java | 1 - .../init/InitializrServiceMetadata.java | 1 - .../init/ProjectGenerationRequest.java | 1 - .../init/ProjectGenerationResponse.java | 3 +- .../cli/command/init/ProjectGenerator.java | 1 - .../boot/cli/command/init/ProjectType.java | 1 - .../ServiceCapabilitiesReportGenerator.java | 1 - .../command/install/DependencyResolver.java | 3 +- .../install/GroovyGrabDependencyResolver.java | 1 - .../boot/cli/command/install/Installer.java | 1 - .../options/CompilerOptionHandler.java | 1 + .../cli/command/options/OptionHandler.java | 1 + .../boot/cli/command/options/OptionHelp.java | 3 +- .../OptionSetGroovyCompilerConfiguration.java | 1 + .../cli/command/options/SourceOptions.java | 1 + .../boot/cli/command/run/RunCommand.java | 1 + .../command/run/SpringApplicationRunner.java | 1 + .../SpringApplicationRunnerConfiguration.java | 1 + .../cli/command/shell/CommandCompleter.java | 1 + .../boot/cli/command/shell/PromptCommand.java | 3 +- .../boot/cli/command/shell/Shell.java | 1 + .../boot/cli/command/shell/ShellCommand.java | 3 +- .../cli/command/shell/ShellExitException.java | 3 +- .../boot/cli/command/shell/ShellPrompts.java | 3 +- .../boot/cli/command/status/ExitStatus.java | 3 +- .../boot/cli/command/test/TestCommand.java | 1 + .../boot/cli/command/test/TestRunner.java | 3 +- .../command/test/TestRunnerConfiguration.java | 3 +- .../boot/cli/compiler/AstUtils.java | 1 + .../compiler/CompilerAutoConfiguration.java | 1 + ...ndencyAutoConfigurationTransformation.java | 3 +- .../cli/compiler/DependencyCustomizer.java | 1 + .../compiler/ExtendedGroovyClassLoader.java | 1 + .../compiler/GroovyBeansTransformation.java | 1 + .../boot/cli/compiler/GroovyCompiler.java | 1 + .../compiler/GroovyCompilerConfiguration.java | 3 +- .../cli/compiler/GroovyCompilerScope.java | 3 +- .../RepositoryConfigurationFactory.java | 1 + ...veDependencyCoordinatesTransformation.java | 1 + .../cli/compiler/SmartImportCustomizer.java | 1 - .../compiler/SpringBootAstTransformation.java | 3 +- .../JUnitCompilerAutoConfiguration.java | 1 + .../JdbcCompilerAutoConfiguration.java | 1 + .../JmsCompilerAutoConfiguration.java | 1 + .../RabbitCompilerAutoConfiguration.java | 1 + .../ReactorCompilerAutoConfiguration.java | 1 + .../SpockCompilerAutoConfiguration.java | 1 + .../SpringBatchCompilerAutoConfiguration.java | 1 + .../SpringBootCompilerAutoConfiguration.java | 1 + ...gIntegrationCompilerAutoConfiguration.java | 1 + ...SpringMobileCompilerAutoConfiguration.java | 1 + .../SpringMvcCompilerAutoConfiguration.java | 1 + ...ringSecurityCompilerAutoConfiguration.java | 1 + ...ingWebsocketCompilerAutoConfiguration.java | 1 + ...onManagementCompilerAutoConfiguration.java | 1 + .../ArtifactCoordinatesResolver.java | 3 +- ...ManagementArtifactCoordinatesResolver.java | 1 + .../cli/compiler/grape/AetherGrapeEngine.java | 1 + .../grape/AetherGrapeEngineFactory.java | 1 + ...ositorySystemSessionAutoConfiguration.java | 1 + .../DependencyResolutionFailedException.java | 3 +- .../compiler/grape/GrapeEngineInstaller.java | 3 +- .../grape/RepositoryConfiguration.java | 1 + ...ositorySystemSessionAutoConfiguration.java | 3 +- ...ositorySystemSessionAutoConfiguration.java | 1 + .../springframework/boot/cli/util/Log.java | 3 +- .../boot/cli/util/ResourceUtils.java | 1 + .../boot/groovy/DelegateTestRunner.java | 3 +- .../boot/groovy/EnableDeviceResolver.java | 3 +- .../boot/groovy/GroovyTemplate.java | 1 + .../HateoasObjenesisCacheDisabler.java | 1 - .../remote/server/HttpStatusHandler.java | 1 + .../server/RemoteDebugPortProvider.java | 1 + ...aSpecialProducerConsumerConfigExample.java | 2 +- .../src/main/java/sample/AnnotatedSample.java | 3 +- .../checkstyle/checkstyle-suppressions.xml | 1 + .../jdbc/AutoConfigureTestDatabase.java | 3 +- .../test/autoconfigure/jdbc/JdbcTest.java | 3 +- .../orm/jpa/AutoConfigureTestDatabase.java | 3 +- .../jpa/AutoConfigureTestEntityManager.java | 3 +- .../autoconfigure/orm/jpa/DataJpaTest.java | 3 +- .../test/context/SpringBootContextLoader.java | 3 +- .../AutoConfigureAnnotationProcessor.java | 3 +- .../ConfigurationMetadataHint.java | 3 +- .../ConfigurationMetadataItem.java | 3 +- .../configurationmetadata/JsonReader.java | 3 +- .../RawConfigurationMetadata.java | 3 +- .../TypeElementMembers.java | 3 +- .../TypeExcludeFilter.java | 3 +- .../configurationprocessor/TypeUtils.java | 3 +- .../fieldvalues/javac/ExpressionTree.java | 3 +- .../fieldvalues/javac/ReflectionWrapper.java | 3 +- .../fieldvalues/javac/Tree.java | 3 +- .../fieldvalues/javac/TreeVisitor.java | 3 +- .../fieldvalues/javac/Trees.java | 3 +- .../fieldvalues/javac/VariableTree.java | 3 +- .../boot/gradle/PluginFeatures.java | 3 +- .../gradle/SpringBootPluginExtension.java | 3 +- .../gradle/agent/AgentPluginFeatures.java | 3 +- .../boot/gradle/agent/AgentTasksEnhancer.java | 3 +- .../boot/gradle/buildinfo/BuildInfo.java | 3 +- .../plugin/DeprecatedSpringBootPlugin.java | 3 +- .../boot/gradle/plugin/SpringBootPlugin.java | 3 +- .../repackage/RepackagePluginFeatures.java | 3 +- .../boot/gradle/repackage/RepackageTask.java | 3 +- .../boot/gradle/run/BootRunTask.java | 3 +- .../boot/gradle/run/FindMainClassTask.java | 3 +- .../boot/gradle/run/RunPluginFeatures.java | 3 +- .../boot/loader/tools/AgentAttacher.java | 3 +- .../loader/tools/BuildPropertiesWriter.java | 3 +- .../boot/loader/tools/FileUtils.java | 3 +- .../boot/loader/tools/JarWriter.java | 3 +- .../boot/loader/tools/Layout.java | 3 +- .../boot/loader/tools/LayoutFactory.java | 3 +- .../boot/loader/tools/Layouts.java | 3 +- .../boot/loader/tools/Libraries.java | 3 +- .../boot/loader/tools/LibraryCallback.java | 3 +- .../boot/loader/tools/LibraryScope.java | 3 +- .../boot/loader/tools/MainClassFinder.java | 3 +- .../boot/loader/tools/Repackager.java | 3 +- .../loader/ExecutableArchiveLauncher.java | 3 +- .../boot/loader/JarLauncher.java | 3 +- .../boot/loader/LaunchedURLClassLoader.java | 3 +- .../springframework/boot/loader/Launcher.java | 3 +- .../boot/loader/MainMethodRunner.java | 3 +- .../boot/loader/PropertiesLauncher.java | 3 +- .../boot/loader/WarLauncher.java | 3 +- .../boot/loader/archive/Archive.java | 3 +- .../boot/loader/archive/ExplodedArchive.java | 3 +- .../boot/loader/archive/JarFileArchive.java | 3 +- .../data/ByteArrayRandomAccessData.java | 3 +- .../boot/loader/data/RandomAccessData.java | 3 +- .../loader/data/RandomAccessDataFile.java | 3 +- .../boot/loader/jar/Handler.java | 3 +- .../boot/loader/jar/JarFile.java | 3 +- .../boot/loader/util/SystemPropertyUtils.java | 3 +- .../maven/AbstractDependencyFilterMojo.java | 12 +++---- .../boot/maven/AbstractRunMojo.java | 29 ++++++++-------- .../boot/maven/ArtifactsLibraries.java | 3 +- .../boot/maven/DependencyFilter.java | 4 +-- .../springframework/boot/maven/Exclude.java | 4 +-- .../boot/maven/ExcludeFilter.java | 4 +-- .../boot/maven/FilterableDependency.java | 3 +- .../springframework/boot/maven/Include.java | 4 +-- .../boot/maven/IncludeFilter.java | 4 +-- .../boot/maven/MatchingGroupIdFilter.java | 4 +-- .../PropertiesMergingResourceTransformer.java | 3 +- .../boot/maven/RepackageMojo.java | 33 ++++++++++--------- .../boot/maven/RunArguments.java | 3 +- .../springframework/boot/maven/RunMojo.java | 1 + .../springframework/boot/maven/StopMojo.java | 2 +- .../boot/junit/compiler/TestCompiler.java | 3 +- .../runner/classpath/ClassPathExclusions.java | 3 +- .../runner/classpath/ClassPathOverrides.java | 3 +- .../classpath/ModifiedClassPathRunner.java | 3 +- .../springframework/boot/ApplicationPid.java | 3 +- .../boot/CommandLineRunner.java | 3 +- .../boot/ExitCodeGenerator.java | 3 +- .../boot/SpringApplication.java | 3 +- .../boot/SpringApplicationRunListener.java | 3 +- .../boot/ansi/AnsiElement.java | 3 +- .../springframework/boot/ansi/AnsiOutput.java | 3 +- .../DefaultPropertyNamePatternsMatcher.java | 3 +- .../boot/bind/InetAddressEditor.java | 3 +- .../PatternPropertyNamePatternsMatcher.java | 3 +- .../bind/PropertiesConfigurationFactory.java | 3 +- .../bind/PropertyNamePatternsMatcher.java | 3 +- .../boot/bind/PropertySourceUtils.java | 3 +- .../bind/PropertySourcesPropertyValues.java | 3 +- .../boot/bind/RelaxedConversionService.java | 3 +- .../boot/bind/RelaxedDataBinder.java | 3 +- .../boot/bind/RelaxedNames.java | 3 +- .../boot/bind/RelaxedPropertyResolver.java | 3 +- .../boot/bind/YamlConfigurationFactory.java | 3 +- .../bind/YamlJavaBeanPropertyConstructor.java | 3 +- ...tContextApplicationContextInitializer.java | 3 +- ...arentContextCloserApplicationListener.java | 3 +- .../builder/SpringApplicationBuilder.java | 3 +- ...udFoundryVcapEnvironmentPostProcessor.java | 3 +- ...ontextIdApplicationContextInitializer.java | 3 +- .../FileEncodingApplicationListener.java | 3 +- .../config/ConfigFileApplicationListener.java | 3 +- ...legatingApplicationContextInitializer.java | 3 +- .../config/DelegatingApplicationListener.java | 3 +- .../config/RandomValuePropertySource.java | 3 +- ...tConfigurableEmbeddedServletContainer.java | 3 +- ...stractEmbeddedServletContainerFactory.java | 3 +- ...onConfigEmbeddedWebApplicationContext.java | 3 +- .../ConfigurableEmbeddedServletContainer.java | 3 +- .../embedded/EmbeddedServletContainer.java | 3 +- .../EmbeddedServletContainerCustomizer.java | 3 +- ...tContainerCustomizerBeanPostProcessor.java | 3 +- .../EmbeddedServletContainerException.java | 3 +- .../EmbeddedServletContainerFactory.java | 5 ++- ...eddedServletContainerInitializedEvent.java | 3 +- .../EmbeddedWebApplicationContext.java | 3 +- .../boot/context/embedded/MimeMappings.java | 3 +- ...onContextServletContextAwareProcessor.java | 3 +- .../XmlEmbeddedWebApplicationContext.java | 3 +- .../jetty/JettyEmbeddedServletContainer.java | 3 +- .../JettyEmbeddedServletContainerFactory.java | 3 +- .../embedded/jetty/JettyServerCustomizer.java | 3 +- ...ervletContextInitializerConfiguration.java | 3 +- .../tomcat/TomcatConnectorCustomizer.java | 3 +- .../tomcat/TomcatContextCustomizer.java | 3 +- .../TomcatEmbeddedServletContainer.java | 3 +- ...TomcatEmbeddedServletContainerFactory.java | 3 +- .../TomcatEmbeddedWebappClassLoader.java | 3 +- .../embedded/tomcat/TomcatStarter.java | 3 +- .../ApplicationEnvironmentPreparedEvent.java | 3 +- .../context/event/ApplicationFailedEvent.java | 3 +- .../event/ApplicationPreparedEvent.java | 3 +- .../event/ApplicationStartedEvent.java | 3 +- .../event/EventPublishingRunListener.java | 3 +- .../context/event/SpringApplicationEvent.java | 3 +- .../properties/ConfigurationProperties.java | 3 +- .../ConfigurationPropertiesBinding.java | 3 +- ...urationPropertiesBindingPostProcessor.java | 3 +- ...opertiesBindingPostProcessorRegistrar.java | 3 +- .../EnableConfigurationProperties.java | 3 +- .../BeanNotOfRequiredTypeFailureAnalyzer.java | 3 +- .../EnumerableCompositePropertySource.java | 3 +- .../env/PropertiesPropertySourceLoader.java | 3 +- .../boot/env/PropertySourceLoader.java | 3 +- .../boot/env/PropertySourcesLoader.java | 3 +- .../boot/env/YamlPropertySourceLoader.java | 3 +- .../boot/json/JacksonJsonParser.java | 3 +- .../springframework/boot/json/JsonParser.java | 3 +- .../boot/json/JsonParserFactory.java | 3 +- .../boot/json/YamlJsonParser.java | 3 +- ...baseServiceLocatorApplicationListener.java | 3 +- .../SpringPackageScanClassResolver.java | 3 +- .../boot/logging/AbstractLoggingSystem.java | 3 +- .../ClasspathLoggingApplicationListener.java | 3 +- .../boot/logging/LogLevel.java | 3 +- .../logging/LoggingApplicationListener.java | 3 +- .../boot/logging/LoggingSystem.java | 3 +- .../boot/logging/java/JavaLoggingSystem.java | 3 +- .../boot/logging/java/SimpleFormatter.java | 3 +- .../boot/logging/logback/ColorConverter.java | 3 +- .../logback/DefaultLogbackConfiguration.java | 3 +- .../logback/LevelRemappingAppender.java | 3 +- .../logging/logback/LogbackConfigurator.java | 3 +- .../logging/logback/LogbackLoggingSystem.java | 3 +- .../WhitespaceThrowableProxyConverter.java | 3 +- .../MessageInterpolatorFactory.java | 3 +- .../yaml/SpringProfileDocumentMatcher.java | 3 +- 463 files changed, 687 insertions(+), 378 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEvent.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEvent.java index 4ec6c6b8c6e..03a1b142ec3 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEvent.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEvent.java @@ -41,6 +41,7 @@ import org.springframework.util.Assert; * (wrappers for AuditEvent). * * @author Dave Syer + * @since 1.0.0 * @see AuditEventRepository */ @JsonInclude(Include.NON_EMPTY) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEventRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEventRepository.java index 076f7881c1d..0ba5968d815 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEventRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/AuditEventRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import java.util.List; * * @author Dave Syer * @author Vedran Pavic + * @since 1.0.0 */ public interface AuditEventRepository { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepository.java index 291022e9743..35c4cd74606 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/InMemoryAuditEventRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import org.springframework.util.Assert; * @author Dave Syer * @author Phillip Webb * @author Vedran Pavic + * @since 1.0.0 */ public class InMemoryAuditEventRepository implements AuditEventRepository { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/listener/AuditApplicationEvent.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/listener/AuditApplicationEvent.java index 5c4e9bda2cc..5ac2a7815bc 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/listener/AuditApplicationEvent.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/listener/AuditApplicationEvent.java @@ -27,6 +27,7 @@ import org.springframework.util.Assert; * Spring {@link ApplicationEvent} to encapsulate {@link AuditEvent}s. * * @author Dave Syer + * @since 1.0.0 */ public class AuditApplicationEvent extends ApplicationEvent { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/listener/AuditListener.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/listener/AuditListener.java index 70513e9e879..63672d1c82a 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/listener/AuditListener.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit/listener/AuditListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.boot.actuate.audit.AuditEventRepository; * @author Dave Syer * @author Stephane Nicoll * @author Vedran Pavic + * @since 1.0.0 */ public class AuditListener extends AbstractAuditListener { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ActuatorMetricWriter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ActuatorMetricWriter.java index 0099ae8a8a7..2f86f8ffbe2 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ActuatorMetricWriter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ActuatorMetricWriter.java @@ -30,6 +30,7 @@ import org.springframework.beans.factory.annotation.Qualifier; * distinguish it from others that might be installed by the user). * * @author Dave Syer + * @since 1.3.0 */ @Qualifier @Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.TYPE, ElementType.ANNOTATION_TYPE }) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/AuditAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/AuditAutoConfiguration.java index 65b1276c0dc..26b348bd89d 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/AuditAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/AuditAutoConfiguration.java @@ -37,6 +37,7 @@ import org.springframework.context.annotation.Configuration; * * @author Dave Syer * @author Vedran Pavic + * @since 1.0.0 */ @Configuration public class AuditAutoConfiguration { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/CrshAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/CrshAutoConfiguration.java index 16b13c4e71f..e4d4ceb9d7d 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/CrshAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/CrshAutoConfiguration.java @@ -114,6 +114,7 @@ import org.springframework.util.StringUtils; * * @author Christian Dupuis * @author Matt Benson + * @since 1.0.0 * @see ShellProperties * @deprecated as of 1.5 since CRaSH is not actively maintained */ diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointAutoConfiguration.java index 1ed5851093e..bb89ccd2c6e 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointAutoConfiguration.java @@ -77,6 +77,7 @@ import org.springframework.web.servlet.handler.AbstractHandlerMethodMapping; * @author Eddú Meléndez * @author Meang Akira Tanaka * @author Ben Hale + * @since 1.0.0 */ @Configuration @AutoConfigureAfter({ FlywayAutoConfiguration.class, LiquibaseAutoConfiguration.class }) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfiguration.java index 5f75e4d1d75..380bb92d591 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfiguration.java @@ -50,6 +50,7 @@ import org.springframework.util.StringUtils; * * @author Christian Dupuis * @author Andy Wilkinson + * @since 1.0.0 */ @Configuration @Conditional(JmxEnabledCondition.class) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportProperties.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportProperties.java index cde91ed88d6..9a0566bae91 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportProperties.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import org.springframework.util.StringUtils; * Configuration properties for JMX. * * @author Christian Dupuis + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.jmx") public class EndpointMBeanExportProperties { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.java index a15e880d307..24e89b816f0 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.java @@ -94,6 +94,7 @@ import org.springframework.web.servlet.DispatcherServlet; * @author Johannes Edmeier * @author Eddú Meléndez * @author Venil Noronha + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ Servlet.class, DispatcherServlet.class }) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcChildContextConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcChildContextConfiguration.java index d6254732660..35050e5f20d 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcChildContextConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcChildContextConfiguration.java @@ -75,6 +75,7 @@ import org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolv * @author Stephane Nicoll * @author Andy Wilkinson * @author Eddú Meléndez + * @since 1.0.0 * @see EndpointWebMvcAutoConfiguration */ @Configuration diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.java index fd16bcfa7cd..4f96d525618 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfiguration.java @@ -59,6 +59,7 @@ import org.springframework.web.servlet.mvc.ServletWrappingController; * @author Christian Dupuis * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ @Configuration @ConditionalOnWebApplication diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/JolokiaProperties.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/JolokiaProperties.java index c4123bb4e9e..5c1ac298782 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/JolokiaProperties.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/JolokiaProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; * * @author Christian Dupuis * @author Dave Syer + * @since 1.0.0 */ @ConfigurationProperties(prefix = "jolokia") public class JolokiaProperties { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerProperties.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerProperties.java index 0bbfde30195..684cc2d204f 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerProperties.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerProperties.java @@ -39,6 +39,7 @@ import org.springframework.util.StringUtils; * @author Stephane Nicoll * @author Vedran Pavic * @see ServerProperties + * @since 1.0.0 */ @ConfigurationProperties(prefix = "management", ignoreUnknownFields = true) public class ManagementServerProperties implements SecurityPrerequisite { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerPropertiesAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerPropertiesAutoConfiguration.java index b0f1e11fa70..d6377c41e22 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerPropertiesAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerPropertiesAutoConfiguration.java @@ -33,6 +33,7 @@ import org.springframework.context.annotation.Configuration; * {@link ManagementServerProperties} bean. * * @author Dave Syer + * @since 1.0.0 */ @Configuration @AutoConfigureAfter(ServerPropertiesAutoConfiguration.class) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementWebSecurityAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementWebSecurityAutoConfiguration.java index b4d1393d858..f5f1274249a 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementWebSecurityAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementWebSecurityAutoConfiguration.java @@ -83,6 +83,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.3.0 */ @Configuration @ConditionalOnWebApplication diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java index b18116aa549..856b6fe2cc1 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfiguration.java @@ -40,6 +40,7 @@ import org.springframework.web.servlet.HandlerMapping; * @author Phillip Webb * @author Andy Wilkinson * @author Sebastian Kirsch + * @since 1.0.0 */ @Configuration @ConditionalOnBean({ CounterService.class, GaugeService.class }) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricRepositoryAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricRepositoryAutoConfiguration.java index 68bd139a65f..576d6a7280d 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricRepositoryAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/MetricRepositoryAutoConfiguration.java @@ -69,12 +69,13 @@ import org.springframework.messaging.MessageChannel; * application context via a {@link MetricCopyExporter} firing every 5 seconds (disable * this by setting {@code spring.metrics.export.enabled=false}). * + * @author Dave Syer + * @since 1.0.0 * @see GaugeService * @see CounterService * @see MetricWriter * @see InMemoryMetricRepository * @see Exporter - * @author Dave Syer */ @Configuration public class MetricRepositoryAutoConfiguration { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ShellProperties.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ShellProperties.java index 1c325857058..e93ed6d18b0 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ShellProperties.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ShellProperties.java @@ -38,6 +38,7 @@ import org.springframework.util.StringUtils; * @author Phillip Webb * @author Eddú Meléndez * @author Stephane Nicoll + * @since 1.0.0 * @deprecated as of 1.5 since CRaSH is not actively maintained */ @ConfigurationProperties(prefix = ShellProperties.SHELL_PREFIX, ignoreUnknownFields = true) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/TraceRepositoryAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/TraceRepositoryAutoConfiguration.java index e38a0e92e93..8f7ba8416ac 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/TraceRepositoryAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/TraceRepositoryAutoConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import org.springframework.context.annotation.Configuration; * {@link EnableAutoConfiguration Auto-configuration} for {@link TraceRepository tracing}. * * @author Dave Syer + * @since 1.0.0 */ @Configuration public class TraceRepositoryAutoConfiguration { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/TraceWebFilterAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/TraceWebFilterAutoConfiguration.java index add44285ba5..d27d011b45d 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/TraceWebFilterAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/TraceWebFilterAutoConfiguration.java @@ -40,6 +40,7 @@ import org.springframework.web.servlet.DispatcherServlet; * tracing}. * * @author Dave Syer + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ Servlet.class, DispatcherServlet.class, ServletRegistration.class }) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/AbstractEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/AbstractEndpoint.java index e312c9cd680..fff6ea66474 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/AbstractEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/AbstractEndpoint.java @@ -28,6 +28,7 @@ import org.springframework.util.Assert; * @param the endpoint data type * @author Phillip Webb * @author Christian Dupuis + * @since 1.0.0 */ public abstract class AbstractEndpoint implements Endpoint, EnvironmentAware { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/AutoConfigurationReportEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/AutoConfigurationReportEndpoint.java index 13b486d147c..6e36820e74d 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/AutoConfigurationReportEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/AutoConfigurationReportEndpoint.java @@ -45,6 +45,7 @@ import org.springframework.util.StringUtils; * @author Phillip Webb * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.autoconfig") public class AutoConfigurationReportEndpoint extends AbstractEndpoint { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/BeansEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/BeansEndpoint.java index 3ac9ab80642..faa6a3a2b43 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/BeansEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/BeansEndpoint.java @@ -39,6 +39,7 @@ import org.springframework.util.Assert; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.beans") public class BeansEndpoint extends AbstractEndpoint> implements ApplicationContextAware { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java index 1b940396c34..89604cdc518 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpoint.java @@ -63,6 +63,7 @@ import org.springframework.util.StringUtils; * @author Christian Dupuis * @author Dave Syer * @author Stephane Nicoll + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.configprops") public class ConfigurationPropertiesReportEndpoint extends AbstractEndpoint> diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/DumpEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/DumpEndpoint.java index f44b672a477..9bfa2673233 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/DumpEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/DumpEndpoint.java @@ -27,6 +27,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; * {@link Endpoint} to expose thread info. * * @author Dave Syer + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.dump") public class DumpEndpoint extends AbstractEndpoint> { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/Endpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/Endpoint.java index 7f4b6e4c9f5..1af2c36d2ea 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/Endpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/Endpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ package org.springframework.boot.actuate.endpoint; * @author Phillip Webb * @author Dave Syer * @author Christian Dupuis + * @since 1.0.0 * @see AbstractEndpoint */ public interface Endpoint { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EnvironmentEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EnvironmentEndpoint.java index 6d2c8f9f3de..53e631e7c68 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EnvironmentEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/EnvironmentEndpoint.java @@ -39,6 +39,7 @@ import org.springframework.core.env.StandardEnvironment; * @author Phillip Webb * @author Christian Dupuis * @author Madhura Bhave + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.env") public class EnvironmentEndpoint extends AbstractEndpoint> { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/HealthEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/HealthEndpoint.java index 32c9765c09c..0df95324a38 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/HealthEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/HealthEndpoint.java @@ -32,6 +32,7 @@ import org.springframework.util.Assert; * @author Dave Syer * @author Christian Dupuis * @author Andy Wilkinson + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.health") public class HealthEndpoint extends AbstractEndpoint { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InfoEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InfoEndpoint.java index 2af687b81a7..689d7d66f41 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InfoEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/InfoEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.util.Assert; * @author Dave Syer * @author Meang Akira Tanaka * @author Stephane Nicoll + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.info") public class InfoEndpoint extends AbstractEndpoint> { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/MetricReaderPublicMetrics.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/MetricReaderPublicMetrics.java index 9ee3f452cc4..42c41831ad9 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/MetricReaderPublicMetrics.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/MetricReaderPublicMetrics.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import org.springframework.util.Assert; * @author Christian Dupuis * @author Stephane Nicoll * @author Phillip Webb + * @since 1.0.0 */ public class MetricReaderPublicMetrics implements PublicMetrics { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/MetricsEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/MetricsEndpoint.java index ca47f42b147..207d8bd1760 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/MetricsEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/MetricsEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ import org.springframework.util.Assert; * {@link Endpoint} to expose a collection of {@link PublicMetrics}. * * @author Dave Syer + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.metrics") public class MetricsEndpoint extends AbstractEndpoint> { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/PublicMetrics.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/PublicMetrics.java index d631a70ab44..4779d1d6174 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/PublicMetrics.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/PublicMetrics.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import org.springframework.boot.actuate.metrics.Metric; * or across a distributed system. * * @author Dave Syer + * @since 1.0.0 * @see SystemPublicMetrics SystemPublicMetrics for an example implementation */ public interface PublicMetrics { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/RequestMappingEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/RequestMappingEndpoint.java index a6913f223b4..7bcef7d550c 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/RequestMappingEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/RequestMappingEndpoint.java @@ -37,6 +37,7 @@ import org.springframework.web.servlet.handler.AbstractUrlHandlerMapping; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.mappings") public class RequestMappingEndpoint extends AbstractEndpoint> implements ApplicationContextAware { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/RichGaugeReaderPublicMetrics.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/RichGaugeReaderPublicMetrics.java index 53a1e21bdd8..0c89d2e1648 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/RichGaugeReaderPublicMetrics.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/RichGaugeReaderPublicMetrics.java @@ -29,7 +29,7 @@ import org.springframework.util.Assert; * {@link PublicMetrics} exposed from a {@link RichGaugeReader}. * * @author Johannes Edmeier - * @since 1.2 + * @since 1.2.0 */ public class RichGaugeReaderPublicMetrics implements PublicMetrics { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ShutdownEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ShutdownEndpoint.java index 609cadd9712..45ffd42172d 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ShutdownEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/ShutdownEndpoint.java @@ -31,6 +31,7 @@ import org.springframework.context.ConfigurableApplicationContext; * @author Dave Syer * @author Christian Dupuis * @author Andy Wilkinson + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.shutdown") public class ShutdownEndpoint extends AbstractEndpoint> implements ApplicationContextAware { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/TraceEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/TraceEndpoint.java index 675038d80a7..177e3563298 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/TraceEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/TraceEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import org.springframework.util.Assert; * {@link Endpoint} to expose {@link Trace} information. * * @author Dave Syer + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.trace") public class TraceEndpoint extends AbstractEndpoint> { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/DataEndpointMBean.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/DataEndpointMBean.java index e232f35ec38..ff4780ba135 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/DataEndpointMBean.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/DataEndpointMBean.java @@ -27,6 +27,7 @@ import org.springframework.jmx.export.annotation.ManagedAttribute; * * @author Christian Dupuis * @author Andy Wilkinson + * @since 1.0.0 */ public class DataEndpointMBean extends EndpointMBean { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBean.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBean.java index c0d10756708..a5d24b83329 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBean.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBean.java @@ -31,6 +31,7 @@ import org.springframework.util.ObjectUtils; * @author Andy Wilkinson * @author Vedran Pavic * @author Phillip Webb + * @since 1.0.0 * @see JmxEndpoint * @see DataEndpointMBean */ diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBeanExporter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBeanExporter.java index edb12ed91bf..c1daa638a22 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBeanExporter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/EndpointMBeanExporter.java @@ -62,6 +62,7 @@ import org.springframework.util.ObjectUtils; * @author Christian Dupuis * @author Andy Wilkinson * @author Vedran Pavic + * @since 1.0.0 */ public class EndpointMBeanExporter extends MBeanExporter implements SmartLifecycle, ApplicationContextAware { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/ShutdownEndpointMBean.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/ShutdownEndpointMBean.java index 836b47d395b..1e8cd951192 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/ShutdownEndpointMBean.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/jmx/ShutdownEndpointMBean.java @@ -27,6 +27,7 @@ import org.springframework.jmx.export.annotation.ManagedOperation; * * @author Christian Dupuis * @author Andy Wilkinson + * @since 1.0.0 */ public class ShutdownEndpointMBean extends EndpointMBean { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/AbstractEndpointHandlerMapping.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/AbstractEndpointHandlerMapping.java index e54ac67a891..c33ca4c8b01 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/AbstractEndpointHandlerMapping.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/AbstractEndpointHandlerMapping.java @@ -60,6 +60,7 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandl * @author Christian Dupuis * @author Dave Syer * @author Madhura Bhave + * @since 1.5.0 */ public abstract class AbstractEndpointHandlerMapping extends RequestMappingHandlerMapping { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java index 2586ff4a594..0365501bcfa 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java @@ -37,6 +37,7 @@ import org.springframework.web.servlet.HandlerMapping; * @author Phillip Webb * @author Christian Dupuis * @author Dave Syer + * @since 1.0.0 */ public class EndpointHandlerMapping extends AbstractEndpointHandlerMapping { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointMvcAdapter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointMvcAdapter.java index 68f717c9ea0..74bb1367238 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointMvcAdapter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointMvcAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import org.springframework.web.bind.annotation.ResponseBody; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ public class EndpointMvcAdapter extends AbstractEndpointMvcAdapter> { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EnvironmentMvcEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EnvironmentMvcEndpoint.java index 860afdf635b..dd18a01e66d 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EnvironmentMvcEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EnvironmentMvcEndpoint.java @@ -35,6 +35,7 @@ import org.springframework.web.bind.annotation.ResponseStatus; * @author Dave Syer * @author Christian Dupuis * @author Andy Wilkinson + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.env") public class EnvironmentMvcEndpoint extends EndpointMvcAdapter implements EnvironmentAware { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/JolokiaMvcEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/JolokiaMvcEndpoint.java index b3e46647efa..8e21372ab97 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/JolokiaMvcEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/JolokiaMvcEndpoint.java @@ -42,6 +42,7 @@ import org.springframework.web.util.UrlPathHelper; * * @author Christian Dupuis * @author Andy Wilkinson + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.jolokia", ignoreUnknownFields = false) @HypermediaDisabled diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/ManagementErrorEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/ManagementErrorEndpoint.java index 3029dcd3ea9..245ace17522 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/ManagementErrorEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/ManagementErrorEndpoint.java @@ -32,6 +32,7 @@ import org.springframework.web.context.request.RequestContextHolder; * because of the way the handler mappings are set up it will not be detected. * * @author Dave Syer + * @since 1.0.0 */ @Controller public class ManagementErrorEndpoint { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MetricsMvcEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MetricsMvcEndpoint.java index 1c85b6d826c..f9d6611b6d8 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MetricsMvcEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MetricsMvcEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import org.springframework.web.bind.annotation.ResponseStatus; * @author Dave Syer * @author Andy Wilkinson * @author Sergei Egorov + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.metrics") public class MetricsMvcEndpoint extends EndpointMvcAdapter { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpoint.java index dfed71b3d52..e33b8597e64 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpoint.java @@ -31,6 +31,7 @@ import org.springframework.http.ResponseEntity; * {@link EndpointHandlerMapping}). * * @author Dave Syer + * @since 1.0.0 * @see NamedMvcEndpoint */ public interface MvcEndpoint { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpoints.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpoints.java index f6dc0016855..f1559fb7832 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpoints.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/MvcEndpoints.java @@ -37,6 +37,7 @@ import org.springframework.core.env.Environment; * endpoints. * * @author Dave Syer + * @since 1.0.0 */ public class MvcEndpoints implements ApplicationContextAware, InitializingBean { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/NamePatternFilter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/NamePatternFilter.java index 6ccd7f14d97..eabea477e3b 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/NamePatternFilter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/NamePatternFilter.java @@ -33,7 +33,6 @@ import java.util.regex.PatternSyntaxException; * @author Sergei Egorov * @author Andy Wilkinson * @author Dylian Bego - * @since 1.3.0 */ abstract class NamePatternFilter { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/ShutdownMvcEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/ShutdownMvcEndpoint.java index 91b9e336497..53dcb0e9ff9 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/ShutdownMvcEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/ShutdownMvcEndpoint.java @@ -31,6 +31,7 @@ import org.springframework.web.bind.annotation.ResponseBody; * Adapter to expose {@link ShutdownEndpoint} as an {@link MvcEndpoint}. * * @author Dave Syer + * @since 1.0.0 */ @ConfigurationProperties(prefix = "endpoints.shutdown") public class ShutdownMvcEndpoint extends EndpointMvcAdapter { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/ApplicationHealthIndicator.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/ApplicationHealthIndicator.java index 9778819399c..9277a6431a7 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/ApplicationHealthIndicator.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/ApplicationHealthIndicator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ package org.springframework.boot.actuate.health; * * @author Dave Syer * @author Christian Dupuis + * @since 1.2.0 * @see Status#UP */ public class ApplicationHealthIndicator extends AbstractHealthIndicator { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthIndicator.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthIndicator.java index 902d16ea00c..015462cdb1c 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthIndicator.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/HealthIndicator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.actuate.health; * Strategy interface used to provide an indication of application health. * * @author Dave Syer + * @since 1.0.0 * @see ApplicationHealthIndicator */ public interface HealthIndicator { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/LdapHealthIndicator.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/LdapHealthIndicator.java index b9d4bf41978..81e03fcd1e2 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/LdapHealthIndicator.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/LdapHealthIndicator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import org.springframework.util.Assert; * * @author Eddú Meléndez * @author Stephane Nicoll - * @version 1.5.0 + * @since 1.5.0 */ public class LdapHealthIndicator extends AbstractHealthIndicator { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/CounterService.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/CounterService.java index f3006f3377a..5487e57d0ff 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/CounterService.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/CounterService.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.actuate.metrics; * A service that can be used to increment, decrement and reset a named counter value. * * @author Dave Syer + * @since 1.0.0 */ public interface CounterService { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/GaugeService.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/GaugeService.java index b807d68a378..c0612e74fec 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/GaugeService.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/GaugeService.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ package org.springframework.boot.actuate.metrics; * be passed on to a monitoring system in its raw form. * * @author Dave Syer + * @since 1.0.0 */ public interface GaugeService { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/Metric.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/Metric.java index fc55b2546a2..f63a996d932 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/Metric.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/Metric.java @@ -28,6 +28,7 @@ import org.springframework.util.ObjectUtils; * * @param the value type * @author Dave Syer + * @since 1.0.0 */ public class Metric { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/dropwizard/DropwizardMetricServices.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/dropwizard/DropwizardMetricServices.java index 94b9e70b65c..aca69049aad 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/dropwizard/DropwizardMetricServices.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/dropwizard/DropwizardMetricServices.java @@ -52,6 +52,7 @@ import org.springframework.util.Assert; * @author Dave Syer * @author Jay Anderson * @author Andy Wilkinson + * @since 1.0.0 */ public class DropwizardMetricServices implements CounterService, GaugeService { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/CompositeMetricReader.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/CompositeMetricReader.java index 72b0a76d2a4..b39b1f08c86 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/CompositeMetricReader.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/CompositeMetricReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import org.springframework.boot.actuate.metrics.Metric; * Composite implementation of {@link MetricReader}. * * @author Dave Syer + * @since 1.0.0 */ public class CompositeMetricReader implements MetricReader { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/MetricReader.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/MetricReader.java index a80ab376dba..fc520e5e09a 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/MetricReader.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/MetricReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.Metric; * A simple reader interface used to interrogate {@link Metric}s. * * @author Dave Syer + * @since 1.0.0 */ public interface MetricReader { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/MetricRegistryMetricReader.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/MetricRegistryMetricReader.java index 6348c409d1a..189af6c6945 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/MetricRegistryMetricReader.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/MetricRegistryMetricReader.java @@ -52,6 +52,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ public class MetricRegistryMetricReader implements MetricReader, MetricRegistryListener { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/PrefixMetricReader.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/PrefixMetricReader.java index 92acef47bfb..5850504c596 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/PrefixMetricReader.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/reader/PrefixMetricReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.Metric; * Interface for extracting metrics as a group whose name starts with a prefix. * * @author Dave Syer + * @since 1.0.0 */ public interface PrefixMetricReader { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/InMemoryMetricRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/InMemoryMetricRepository.java index 3c2e98b72d2..c84300f1148 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/InMemoryMetricRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/InMemoryMetricRepository.java @@ -29,6 +29,7 @@ import org.springframework.boot.actuate.metrics.writer.Delta; * * @author Dave Syer * @author Stephane Nicoll + * @since 1.0.0 */ public class InMemoryMetricRepository implements MetricRepository { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/MetricRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/MetricRepository.java index 06b0bbc7cbc..d149c415762 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/MetricRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/MetricRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import org.springframework.boot.actuate.metrics.writer.MetricWriter; * Convenient combination of reader and writer concerns. * * @author Dave Syer + * @since 1.0.0 */ public interface MetricRepository extends MetricReader, MetricWriter { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/MultiMetricRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/MultiMetricRepository.java index 4f88f995305..bd4d73eec82 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/MultiMetricRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/MultiMetricRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import org.springframework.boot.actuate.metrics.writer.PrefixMetricWriter; * metrics with a common name prefix (their group name). * * @author Dave Syer + * @since 1.0.0 */ public interface MultiMetricRepository extends PrefixMetricReader, PrefixMetricWriter { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMetricRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMetricRepository.java index ab7b9b5cef7..b9d58b3cf77 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMetricRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMetricRepository.java @@ -39,6 +39,7 @@ import org.springframework.util.Assert; * metrics). * * @author Dave Syer + * @since 1.0.0 */ public class RedisMetricRepository implements MetricRepository { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMultiMetricRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMultiMetricRepository.java index 7e90ef0c1a4..edc08be383b 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMultiMetricRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/repository/redis/RedisMultiMetricRepository.java @@ -38,6 +38,7 @@ import org.springframework.util.Assert; * names are stored as a zset under "keys." + {@code [prefix]}. * * @author Dave Syer + * @since 1.0.0 */ public class RedisMultiMetricRepository implements MultiMetricRepository { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/InMemoryRichGaugeRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/InMemoryRichGaugeRepository.java index 004f81bce3f..1e921496054 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/InMemoryRichGaugeRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/InMemoryRichGaugeRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.boot.actuate.metrics.writer.MetricWriter; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ public class InMemoryRichGaugeRepository implements RichGaugeRepository { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGauge.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGauge.java index c213ca422e5..273cc7ac7bf 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGauge.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGauge.java @@ -28,6 +28,7 @@ import org.springframework.util.Assert; * document. * * @author Luke Taylor + * @since 1.0.0 */ public final class RichGauge { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGaugeReader.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGaugeReader.java index 32f471f7b8b..369cb6ed92b 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGaugeReader.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGaugeReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.actuate.metrics.rich; * A basic set of read operations for {@link RichGauge} instances. * * @author Dave Syer + * @since 1.0.0 */ public interface RichGaugeReader { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGaugeRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGaugeRepository.java index 214171db702..8fe5a67d700 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGaugeRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/rich/RichGaugeRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.writer.MetricWriter; * Convenient combination of reader and writer concerns for {@link RichGauge} instances. * * @author Dave Syer + * @since 1.0.0 */ public interface RichGaugeRepository extends RichGaugeReader, MetricWriter { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/util/SimpleInMemoryRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/util/SimpleInMemoryRepository.java index 57864ab66e7..83b8d73c3be 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/util/SimpleInMemoryRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/util/SimpleInMemoryRepository.java @@ -29,6 +29,7 @@ import java.util.concurrent.ConcurrentSkipListMap; * @param the type to store * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ public class SimpleInMemoryRepository { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/CompositeMetricWriter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/CompositeMetricWriter.java index 23579de7909..23ad15e11be 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/CompositeMetricWriter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/CompositeMetricWriter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import org.springframework.boot.actuate.metrics.Metric; * the delegates that have been registered. * * @author Dave Syer + * @since 1.0.0 */ public class CompositeMetricWriter implements MetricWriter, Iterable { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DefaultCounterService.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DefaultCounterService.java index 4f17fbd9272..999bd7f6718 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DefaultCounterService.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DefaultCounterService.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import org.springframework.boot.actuate.metrics.CounterService; * Default implementation of {@link CounterService}. * * @author Dave Syer + * @since 1.0.0 */ public class DefaultCounterService implements CounterService { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DefaultGaugeService.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DefaultGaugeService.java index 85e9699742f..f143019c2f9 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DefaultGaugeService.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/DefaultGaugeService.java @@ -25,6 +25,7 @@ import org.springframework.boot.actuate.metrics.Metric; * Default implementation of {@link GaugeService}. * * @author Dave Syer + * @since 1.0.0 */ public class DefaultGaugeService implements GaugeService { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/Delta.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/Delta.java index e81b593e6e2..92fdaae7f60 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/Delta.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/Delta.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.springframework.boot.actuate.metrics.Metric; * * @param the value type * @author Dave Syer + * @since 1.0.0 */ public class Delta extends Metric { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MessageChannelMetricWriter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MessageChannelMetricWriter.java index adcac60f320..f1f319c4453 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MessageChannelMetricWriter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MessageChannelMetricWriter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.springframework.messaging.MessageChannel; * carry an additional header "metricName" with the name of the metric in it. * * @author Dave Syer + * @since 1.0.0 * @see MetricWriterMessageHandler */ public class MessageChannelMetricWriter implements MetricWriter { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MetricWriter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MetricWriter.java index 1612489b4c8..349413c2675 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MetricWriter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MetricWriter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.springframework.boot.actuate.metrics.Metric; * Basic strategy for write operations on {@link Metric} data. * * @author Dave Syer + * @since 1.0.0 * @see GaugeWriter * @see CounterWriter */ diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MetricWriterMessageHandler.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MetricWriterMessageHandler.java index 00be05158a3..24d63246c2b 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MetricWriterMessageHandler.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/writer/MetricWriterMessageHandler.java @@ -29,6 +29,7 @@ import org.springframework.messaging.MessagingException; * {@link MetricWriter}. * * @author Dave Syer + * @since 1.0.0 * @see MessageChannelMetricWriter */ public final class MetricWriterMessageHandler implements MessageHandler { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthenticationAuditListener.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthenticationAuditListener.java index 137ba667348..09545cb359f 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthenticationAuditListener.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthenticationAuditListener.java @@ -31,6 +31,7 @@ import org.springframework.util.ClassUtils; * * @author Dave Syer * @author Vedran Pavic + * @since 1.0.0 */ public class AuthenticationAuditListener extends AbstractAuthenticationAuditListener { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthorizationAuditListener.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthorizationAuditListener.java index a9355c2fad0..c96d486f6e9 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthorizationAuditListener.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/security/AuthorizationAuditListener.java @@ -29,6 +29,7 @@ import org.springframework.security.access.event.AuthorizationFailureEvent; * * @author Dave Syer * @author Vedran Pavic + * @since 1.0.0 */ public class AuthorizationAuditListener extends AbstractAuthorizationAuditListener { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/InMemoryTraceRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/InMemoryTraceRepository.java index 18781b72423..d3f3339ee62 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/InMemoryTraceRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/InMemoryTraceRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import java.util.Map; * * @author Dave Syer * @author Olivier Bourgain + * @since 1.0.0 */ public class InMemoryTraceRepository implements TraceRepository { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/Trace.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/Trace.java index 93c0067360c..56be14dc1cd 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/Trace.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/Trace.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import org.springframework.util.Assert; * information. Can be used for analyzing contextual information such as HTTP headers. * * @author Dave Syer + * @since 1.0.0 */ public final class Trace { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/TraceRepository.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/TraceRepository.java index 0a40eff6730..18e058e3210 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/TraceRepository.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/TraceRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import java.util.Map; * A repository for {@link Trace}s. * * @author Dave Syer + * @since 1.0.0 */ public interface TraceRepository { diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/WebRequestTraceFilter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/WebRequestTraceFilter.java index 17ed838684e..e51d15eb0e8 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/WebRequestTraceFilter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/WebRequestTraceFilter.java @@ -54,6 +54,7 @@ import org.springframework.web.filter.OncePerRequestFilter; * @author Andy Wilkinson * @author Venil Noronha * @author Madhura Bhave + * @since 1.0.0 */ public class WebRequestTraceFilter extends OncePerRequestFilter implements Ordered { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationPackages.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationPackages.java index 4ddb428c359..162a943cc31 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationPackages.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationPackages.java @@ -47,6 +47,7 @@ import org.springframework.util.StringUtils; * @author Phillip Webb * @author Dave Syer * @author Oliver Gierke + * @since 1.0.0 */ public abstract class AutoConfigurationPackages { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigureAfter.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigureAfter.java index b7cea5e25cd..e70370c787e 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigureAfter.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigureAfter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import java.lang.annotation.Target; * after other specified auto-configuration classes. * * @author Phillip Webb + * @since 1.0.0 */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigureBefore.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigureBefore.java index 21ac324bead..03716ab0467 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigureBefore.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigureBefore.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import java.lang.annotation.Target; * before other specified auto-configuration classes. * * @author Phillip Webb + * @since 1.0.0 */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/EnableAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/EnableAutoConfiguration.java index 471579ac717..6bb7b4c6525 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/EnableAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/EnableAutoConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,6 +66,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader; * * @author Phillip Webb * @author Stephane Nicoll + * @since 1.0.0 * @see ConditionalOnBean * @see ConditionalOnMissingBean * @see ConditionalOnClass diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/MessageSourceAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/MessageSourceAutoConfiguration.java index 668e5d2fce3..f8a71476745 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/MessageSourceAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/MessageSourceAutoConfiguration.java @@ -29,6 +29,7 @@ import org.springframework.core.type.AnnotationMetadata; * @author Dave Syer * @author Phillip Webb * @author Eddú Meléndez + * @since 1.0.0 * @deprecated as of 1.5 in favor of * {@link org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration} */ diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/PropertyPlaceholderAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/PropertyPlaceholderAutoConfiguration.java index 4cd0cd84947..305e9dc862f 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/PropertyPlaceholderAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/PropertyPlaceholderAutoConfiguration.java @@ -29,6 +29,7 @@ import org.springframework.core.type.AnnotationMetadata; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 * @deprecated as of 1.5 in favor of * {@link org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration} */ diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SharedMetadataReaderFactoryContextInitializer.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SharedMetadataReaderFactoryContextInitializer.java index 9ced8e8ce1b..0e95a03eadb 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SharedMetadataReaderFactoryContextInitializer.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/SharedMetadataReaderFactoryContextInitializer.java @@ -44,7 +44,6 @@ import org.springframework.core.type.classreading.MetadataReaderFactory; * {@link ConfigurationClassPostProcessor} and Spring Boot. * * @author Phillip Webb - * @since 1.4.0 */ class SharedMetadataReaderFactoryContextInitializer implements ApplicationContextInitializer { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAnnotationDrivenConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAnnotationDrivenConfiguration.java index 4d47b336628..4e464913e13 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAnnotationDrivenConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAnnotationDrivenConfiguration.java @@ -33,7 +33,6 @@ import org.springframework.context.annotation.Configuration; * * @author Stephane Nicoll * @author Josh Thornhill - * @since 1.2.0 */ @Configuration @ConditionalOnClass(EnableRabbit.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfiguration.java index efe22cbdd83..08cfecce634 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfiguration.java @@ -77,6 +77,7 @@ import org.springframework.util.ReflectionUtils; * @author Josh Long * @author Stephane Nicoll * @author Gary Russell + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ RabbitTemplate.class, Channel.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java index 44862df12f7..e98ebb40ab0 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java @@ -36,6 +36,7 @@ import org.springframework.util.StringUtils; * @author Andy Wilkinson * @author Josh Thornhill * @author Gary Russell + * @since 1.0.0 */ @ConfigurationProperties(prefix = "spring.rabbitmq") public class RabbitProperties { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/aop/AopAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/aop/AopAutoConfiguration.java index 4768dc06e46..2e38e7b04d1 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/aop/AopAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/aop/AopAutoConfiguration.java @@ -36,6 +36,7 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy; * * @author Dave Syer * @author Josh Long + * @since 1.0.0 * @see EnableAspectJAutoProxy */ @Configuration diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BasicBatchConfigurer.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BasicBatchConfigurer.java index c0d5841044b..6e22531b4d9 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BasicBatchConfigurer.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BasicBatchConfigurer.java @@ -42,6 +42,7 @@ import org.springframework.util.StringUtils; * @author Dave Syer * @author Andy Wilkinson * @author Kazuki Shimizu + * @since 1.0.0 */ public class BasicBatchConfigurer implements BatchConfigurer { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfiguration.java index e941e6a7337..1b34ef64fc1 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchAutoConfiguration.java @@ -60,6 +60,7 @@ import org.springframework.util.StringUtils; * @author Dave Syer * @author Eddú Meléndez * @author Kazuki Shimizu + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ JobLauncher.class, DataSource.class, JdbcOperations.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchDatabaseInitializer.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchDatabaseInitializer.java index f8c902daf01..e2ef5074bd0 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchDatabaseInitializer.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchDatabaseInitializer.java @@ -27,6 +27,7 @@ import org.springframework.util.Assert; * * @author Dave Syer * @author Vedran Pavic + * @since 1.0.0 */ public class BatchDatabaseInitializer extends AbstractDatabaseInitializer { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobExecutionEvent.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobExecutionEvent.java index 0be6e5cf113..3d8191d25ae 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobExecutionEvent.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobExecutionEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import org.springframework.context.ApplicationEvent; * Spring {@link ApplicationEvent} encapsulating a {@link JobExecution}. * * @author Dave Syer + * @since 1.0.0 */ @SuppressWarnings("serial") public class JobExecutionEvent extends ApplicationEvent { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobExecutionExitCodeGenerator.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobExecutionExitCodeGenerator.java index 0754983ad0c..c829860a1ad 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobExecutionExitCodeGenerator.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobExecutionExitCodeGenerator.java @@ -27,6 +27,7 @@ import org.springframework.context.ApplicationListener; * {@link ExitCodeGenerator} for {@link JobExecutionEvent}s. * * @author Dave Syer + * @since 1.0.0 */ public class JobExecutionExitCodeGenerator implements ApplicationListener, ExitCodeGenerator { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobLauncherCommandLineRunner.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobLauncherCommandLineRunner.java index fccce946bf3..2cfaeaf9a88 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobLauncherCommandLineRunner.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/JobLauncherCommandLineRunner.java @@ -60,6 +60,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Jean-Pierre Bergamin + * @since 1.0.0 */ public class JobLauncherCommandLineRunner implements CommandLineRunner, ApplicationEventPublisherAware { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheCondition.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheCondition.java index 72996a4fad4..06b658b8985 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheCondition.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheCondition.java @@ -32,7 +32,6 @@ import org.springframework.core.type.ClassMetadata; * * @author Stephane Nicoll * @author Phillip Webb - * @since 1.3.0 */ class CacheCondition extends SpringBootCondition { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CaffeineCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CaffeineCacheConfiguration.java index 6b53e546acb..54340fe336e 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CaffeineCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CaffeineCacheConfiguration.java @@ -37,7 +37,6 @@ import org.springframework.util.StringUtils; * Caffeine cache configuration. * * @author Eddú Meléndez - * @since 1.4.0 */ @Configuration @ConditionalOnClass({ Caffeine.class, CaffeineCacheManager.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/EhCacheCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/EhCacheCacheConfiguration.java index fc28d35fe77..5490b10b4a4 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/EhCacheCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/EhCacheCacheConfiguration.java @@ -35,7 +35,6 @@ import org.springframework.core.io.Resource; * * @author Eddú Meléndez * @author Stephane Nicoll - * @since 1.3.0 */ @Configuration @ConditionalOnClass({ Cache.class, EhCacheCacheManager.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/GenericCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/GenericCacheConfiguration.java index 037a1086f60..f546a4126b6 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/GenericCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/GenericCacheConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,7 +32,6 @@ import org.springframework.context.annotation.Configuration; * context. * * @author Stephane Nicoll - * @since 1.3.0 */ @Configuration @ConditionalOnBean(Cache.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/GuavaCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/GuavaCacheConfiguration.java index b5b403deec9..abcec752024 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/GuavaCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/GuavaCacheConfiguration.java @@ -37,7 +37,6 @@ import org.springframework.util.StringUtils; * Guava cache configuration. * * @author Stephane Nicoll - * @since 1.3.0 */ @Configuration @ConditionalOnClass({ CacheBuilder.class, GuavaCacheManager.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java index a63fef2134e..b62d46251b8 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java @@ -37,7 +37,6 @@ import org.springframework.context.annotation.Import; * default {@link HazelcastInstance} is still made, using the same defaults. * * @author Stephane Nicoll - * @since 1.3.0 * @see HazelcastConfigResourceCondition */ @Configuration diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/JCacheCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/JCacheCacheConfiguration.java index fe391b155c4..da7103b1ff6 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/JCacheCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/JCacheCacheConfiguration.java @@ -54,7 +54,6 @@ import org.springframework.util.StringUtils; * Cache configuration for JSR-107 compliant providers. * * @author Stephane Nicoll - * @since 1.3.0 */ @Configuration @ConditionalOnClass({ Caching.class, JCacheCacheManager.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/NoOpCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/NoOpCacheConfiguration.java index c78246b963f..0654c8bff4c 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/NoOpCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/NoOpCacheConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,6 @@ import org.springframework.context.annotation.Configuration; * No-op cache configuration used to disable caching via configuration. * * @author Stephane Nicoll - * @since 1.3.0 */ @Configuration @ConditionalOnMissingBean(CacheManager.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/RedisCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/RedisCacheConfiguration.java index 059da59bb50..a20db56f820 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/RedisCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/RedisCacheConfiguration.java @@ -33,7 +33,6 @@ import org.springframework.data.redis.core.RedisTemplate; * Redis cache configuration. * * @author Stephane Nicoll - * @since 1.3.0 */ @Configuration @AutoConfigureAfter(RedisAutoConfiguration.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/SimpleCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/SimpleCacheConfiguration.java index 11943c6406d..e27cc44d840 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/SimpleCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/SimpleCacheConfiguration.java @@ -29,7 +29,6 @@ import org.springframework.context.annotation.Configuration; * Simplest cache configuration, usually used as a fallback. * * @author Stephane Nicoll - * @since 1.3.0 */ @Configuration @ConditionalOnMissingBean(CacheManager.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/BeanTypeRegistry.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/BeanTypeRegistry.java index 205524c170f..0ecdf14364c 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/BeanTypeRegistry.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/BeanTypeRegistry.java @@ -62,7 +62,6 @@ import org.springframework.util.StringUtils; * * @author Phillip Webb * @author Andy Wilkinson - * @since 1.2.0 */ final class BeanTypeRegistry implements SmartInitializingSingleton { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionEvaluationReport.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionEvaluationReport.java index 6551ffba070..62d7d95d4f1 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionEvaluationReport.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionEvaluationReport.java @@ -44,6 +44,7 @@ import org.springframework.util.ObjectUtils; * @author Dave Syer * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public final class ConditionEvaluationReport { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionOutcome.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionOutcome.java index 821c5f90ed3..f3c1556ad69 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionOutcome.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionOutcome.java @@ -23,6 +23,7 @@ import org.springframework.util.ObjectUtils; * Outcome for a condition match, including log message. * * @author Phillip Webb + * @since 1.0.0 * @see ConditionMessage */ public class ConditionOutcome { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBean.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBean.java index 51b381ef34f..0c42924f2fd 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBean.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,6 +53,7 @@ import org.springframework.context.annotation.Conditional; * another auto-configuration, make sure that the one using this condition runs after. * * @author Phillip Webb + * @since 1.0.0 */ @Target({ ElementType.TYPE, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnClass.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnClass.java index de91f21c869..1d824e6a7b4 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnClass.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import org.springframework.context.annotation.Conditional; * {@link Conditional} that only matches when the specified classes are on the classpath. * * @author Phillip Webb + * @since 1.0.0 */ @Target({ ElementType.TYPE, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnExpression.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnExpression.java index 814579e0a50..bdef69f3b7d 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnExpression.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnExpression.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.context.annotation.Conditional; * expression. * * @author Dave Syer + * @since 1.0.0 */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE, ElementType.METHOD }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.java index e62774cdc35..0b592442c23 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -56,6 +56,7 @@ import org.springframework.context.annotation.Conditional; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ @Target({ ElementType.TYPE, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingClass.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingClass.java index 071c1c799ec..b6e1205d197 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingClass.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.context.annotation.Conditional; * classpath. * * @author Dave Syer + * @since 1.0.0 */ @Target({ ElementType.TYPE, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnNotWebApplication.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnNotWebApplication.java index 180dc53bd8a..3c1a7835b17 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnNotWebApplication.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnNotWebApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.context.annotation.Conditional; * application context. * * @author Dave Syer + * @since 1.0.0 */ @Target({ ElementType.TYPE, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnResource.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnResource.java index 8938c687271..cc0818007ec 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnResource.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnResource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.context.annotation.Conditional; * classpath. * * @author Dave Syer + * @since 1.0.0 */ @Target({ ElementType.TYPE, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnWebApplication.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnWebApplication.java index 4cd76677c26..92e10a8c738 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnWebApplication.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnWebApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.context.annotation.Conditional; * context. * * @author Dave Syer + * @since 1.0.0 */ @Target({ ElementType.TYPE, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnJavaCondition.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnJavaCondition.java index f18c2669748..359943e8c7f 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnJavaCondition.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnJavaCondition.java @@ -32,7 +32,6 @@ import org.springframework.core.type.AnnotatedTypeMetadata; * @author Oliver Gierke * @author Phillip Webb * @see ConditionalOnJava - * @since 1.1.0 */ @Order(Ordered.HIGHEST_PRECEDENCE + 20) class OnJavaCondition extends SpringBootCondition { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnJndiCondition.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnJndiCondition.java index 8ddf0473fc1..61c5ec33899 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnJndiCondition.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnJndiCondition.java @@ -32,7 +32,6 @@ import org.springframework.util.StringUtils; * {@link Condition} that checks for JNDI locations. * * @author Phillip Webb - * @since 1.2.0 * @see ConditionalOnJndi */ @Order(Ordered.LOWEST_PRECEDENCE - 20) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnPropertyCondition.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnPropertyCondition.java index cdb930851ba..24ffca7608d 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnPropertyCondition.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnPropertyCondition.java @@ -42,7 +42,6 @@ import org.springframework.util.StringUtils; * @author Phillip Webb * @author Stephane Nicoll * @author Andy Wilkinson - * @since 1.1.0 * @see ConditionalOnProperty */ @Order(Ordered.HIGHEST_PRECEDENCE + 40) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/SearchStrategy.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/SearchStrategy.java index b8742ff2293..6e4f5596951 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/SearchStrategy.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/SearchStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.autoconfigure.condition; * Some named search strategies for beans in the bean factory hierarchy. * * @author Dave Syer + * @since 1.0.0 */ public enum SearchStrategy { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/SpringBootCondition.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/SpringBootCondition.java index fe343b6976c..cb82ae3eb45 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/SpringBootCondition.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/SpringBootCondition.java @@ -34,6 +34,7 @@ import org.springframework.util.StringUtils; * * @author Phillip Webb * @author Greg Turnquist + * @since 1.0.0 */ public abstract class SpringBootCondition implements Condition { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/context/MessageSourceAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/context/MessageSourceAutoConfiguration.java index e8adb06c235..5bacc16f67b 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/context/MessageSourceAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/context/MessageSourceAutoConfiguration.java @@ -47,6 +47,7 @@ import org.springframework.util.StringUtils; * @author Dave Syer * @author Phillip Webb * @author Eddú Meléndez + * @since 1.5.0 */ @Configuration @ConditionalOnMissingBean(value = MessageSource.class, search = SearchStrategy.CURRENT) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/context/PropertyPlaceholderAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/context/PropertyPlaceholderAutoConfiguration.java index 138d7068c08..958d11209b2 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/context/PropertyPlaceholderAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/context/PropertyPlaceholderAutoConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import org.springframework.core.Ordered; * * @author Phillip Webb * @author Dave Syer + * @since 1.5.0 */ @Configuration @AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/AbstractRepositoryConfigurationSourceSupport.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/AbstractRepositoryConfigurationSourceSupport.java index 113c8fd5b61..91eebdd242b 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/AbstractRepositoryConfigurationSourceSupport.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/AbstractRepositoryConfigurationSourceSupport.java @@ -41,6 +41,7 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi * @author Phillip Webb * @author Dave Syer * @author Oliver Gierke + * @since 1.0.0 */ public abstract class AbstractRepositoryConfigurationSourceSupport implements BeanFactoryAware, ImportBeanDefinitionRegistrar, ResourceLoaderAware, EnvironmentAware { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraRepositoriesAutoConfigureRegistrar.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraRepositoriesAutoConfigureRegistrar.java index 28f73926f2e..4987194a3b3 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraRepositoriesAutoConfigureRegistrar.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraRepositoriesAutoConfigureRegistrar.java @@ -29,7 +29,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi * Repositories. * * @author Eddú Meléndez - * @since 1.3.0 */ class CassandraRepositoriesAutoConfigureRegistrar extends AbstractRepositoryConfigurationSourceSupport { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/elasticsearch/ElasticsearchRepositoriesRegistrar.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/elasticsearch/ElasticsearchRepositoriesRegistrar.java index db5109e9552..9076f8cf2fa 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/elasticsearch/ElasticsearchRepositoriesRegistrar.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/elasticsearch/ElasticsearchRepositoriesRegistrar.java @@ -30,7 +30,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi * * @author Artur Konczak * @author Mohsin Husen - * @since 1.1.0 */ class ElasticsearchRepositoriesRegistrar extends AbstractRepositoryConfigurationSourceSupport { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfiguration.java index 9bff846d921..fcbd7814d13 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jpa/JpaRepositoriesAutoConfiguration.java @@ -49,6 +49,7 @@ import org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean; * * @author Phillip Webb * @author Josh Long + * @since 1.0.0 * @see EnableJpaRepositories */ @Configuration diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/ldap/LdapRepositoriesRegistrar.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/ldap/LdapRepositoriesRegistrar.java index f8f9a4c63cf..d2679e79f65 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/ldap/LdapRepositoriesRegistrar.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/ldap/LdapRepositoriesRegistrar.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,7 +29,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi * Repositories. * * @author Eddú Meléndez - * @since 1.5.0 */ class LdapRepositoriesRegistrar extends AbstractRepositoryConfigurationSourceSupport { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/MongoRepositoriesAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/MongoRepositoriesAutoConfiguration.java index cd21d0a8190..34bb5f8d6ee 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/MongoRepositoriesAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/mongo/MongoRepositoriesAutoConfiguration.java @@ -49,6 +49,7 @@ import org.springframework.data.mongodb.repository.support.MongoRepositoryFactor * @author Dave Syer * @author Oliver Gierke * @author Josh Long + * @since 1.0.0 * @see EnableMongoRepositories */ @Configuration diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration.java index 6dff657c76d..fdda7a606b5 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisAutoConfiguration.java @@ -58,6 +58,7 @@ import org.springframework.util.StringUtils; * @author Eddú Meléndez * @author Stephane Nicoll * @author Marco Aust + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ JedisConnection.class, RedisOperations.class, Jedis.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java index 07991779b3e..cbcdb28d9ae 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; * @author Christoph Strobl * @author Eddú Meléndez * @author Marco Aust + * @since 1.0.0 */ @ConfigurationProperties(prefix = "spring.redis") public class RedisProperties { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisRepositoriesAutoConfigureRegistrar.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisRepositoriesAutoConfigureRegistrar.java index 4f52d714b36..746c0fb478f 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisRepositoriesAutoConfigureRegistrar.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisRepositoriesAutoConfigureRegistrar.java @@ -29,7 +29,6 @@ import org.springframework.data.repository.config.RepositoryConfigurationExtensi * Repositories. * * @author Eddú Meléndez - * @since 1.4.0 */ class RedisRepositoriesAutoConfigureRegistrar extends AbstractRepositoryConfigurationSourceSupport { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/solr/SolrRepositoriesRegistrar.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/solr/SolrRepositoriesRegistrar.java index 3c213fe2955..e7b6152f798 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/solr/SolrRepositoriesRegistrar.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/solr/SolrRepositoriesRegistrar.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,7 +29,6 @@ import org.springframework.data.solr.repository.config.SolrRepositoryConfigExten * repositories. * * @author Christoph Strobl - * @since 1.1.0 */ class SolrRepositoriesRegistrar extends AbstractRepositoryConfigurationSourceSupport { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationStrategy.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationStrategy.java index 965429e5877..54c01618b46 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationStrategy.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import org.flywaydb.core.Flyway; * * @author Andreas Ahlenstorf * @author Phillip Webb + * @since 1.3.0 */ public interface FlywayMigrationStrategy { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaHttpMessageConverterConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaHttpMessageConverterConfiguration.java index 83e091dbe0f..ca51ffba335 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaHttpMessageConverterConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaHttpMessageConverterConfiguration.java @@ -41,6 +41,7 @@ import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandl * enabled. * * @author Andy Wilkinson + * @since 1.3.0 */ @Configuration public class HypermediaHttpMessageConverterConfiguration { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration.java index cf9b62afc2d..39e601ab2f1 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration.java @@ -59,6 +59,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType; * @author Phillip Webb * @author Stephane Nicoll * @author Kazuki Shimizu + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ DataSource.class, EmbeddedDatabaseType.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializer.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializer.java index 69aa1206361..3e07f9d117d 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializer.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializer.java @@ -45,7 +45,6 @@ import org.springframework.util.StringUtils; * @author Eddú Meléndez * @author Stephane Nicoll * @author Kazuki Shimizu - * @since 1.1.0 * @see DataSourceAutoConfiguration */ class DataSourceInitializer implements ApplicationListener { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializerPostProcessor.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializerPostProcessor.java index f102ec79200..5db966bd8c1 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializerPostProcessor.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializerPostProcessor.java @@ -34,7 +34,6 @@ import org.springframework.core.type.AnnotationMetadata; * be registered via the inner {@link Registrar} class. * * @author Dave Syer - * @since 1.1.2 */ class DataSourceInitializerPostProcessor implements BeanPostProcessor, Ordered { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceTransactionManagerAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceTransactionManagerAutoConfiguration.java index 3b3caebe812..eaf279d8da1 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceTransactionManagerAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/DataSourceTransactionManagerAutoConfiguration.java @@ -41,6 +41,7 @@ import org.springframework.transaction.PlatformTransactionManager; * @author Stephane Nicoll * @author Andy Wilkinson * @author Kazuki Shimizu + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ JdbcTemplate.class, PlatformTransactionManager.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/EmbeddedDataSourceConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/EmbeddedDataSourceConfiguration.java index 26da1f28f35..b4104fb7b6a 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/EmbeddedDataSourceConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/EmbeddedDataSourceConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder; * * @author Phillip Webb * @author Stephane Nicoll + * @since 1.0.0 * @see DataSourceAutoConfiguration */ @Configuration diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/EmbeddedDatabaseConnection.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/EmbeddedDatabaseConnection.java index c9d3e14c860..252169d8842 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/EmbeddedDatabaseConnection.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/EmbeddedDatabaseConnection.java @@ -35,6 +35,7 @@ import org.springframework.util.ClassUtils; * @author Phillip Webb * @author Dave Syer * @author Stephane Nicoll + * @since 1.0.0 * @see #get(ClassLoader) */ public enum EmbeddedDatabaseConnection { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/metadata/TomcatDataSourcePoolMetadata.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/metadata/TomcatDataSourcePoolMetadata.java index 92d91d8b24c..bbe6ac04822 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/metadata/TomcatDataSourcePoolMetadata.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/metadata/TomcatDataSourcePoolMetadata.java @@ -23,6 +23,7 @@ import org.apache.tomcat.jdbc.pool.DataSource; * {@link DataSourcePoolMetadata} for a Tomcat DataSource. * * @author Stephane Nicoll + * @since 1.2.0 */ public class TomcatDataSourcePoolMetadata extends AbstractDataSourcePoolMetadata { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java index 85cf0daba38..7d667727dde 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.java @@ -77,6 +77,7 @@ import org.springframework.web.filter.RequestContextFilter; * @author Andy Wilkinson * @author Eddú Meléndez * @author Stephane Nicoll + * @since 1.2.0 */ @Configuration @ConditionalOnClass( diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAnnotationDrivenConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAnnotationDrivenConfiguration.java index b05a87f27ef..e529450088e 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAnnotationDrivenConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAnnotationDrivenConfiguration.java @@ -37,7 +37,6 @@ import org.springframework.transaction.jta.JtaTransactionManager; * * @author Phillip Webb * @author Stephane Nicoll - * @since 1.2.0 */ @Configuration @ConditionalOnClass(EnableJms.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAutoConfiguration.java index 3c68406e6e9..6a4c186b400 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAutoConfiguration.java @@ -39,6 +39,7 @@ import org.springframework.jms.support.destination.DestinationResolver; * * @author Greg Turnquist * @author Stephane Nicoll + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ Message.class, JmsTemplate.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsProperties.java index 55ade0a966b..43d176df3bf 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsProperties.java @@ -24,6 +24,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; * @author Greg Turnquist * @author Phillip Webb * @author Stephane Nicoll + * @since 1.0.0 */ @ConfigurationProperties(prefix = "spring.jms") public class JmsProperties { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQConnectionFactoryConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQConnectionFactoryConfiguration.java index f001c31a743..e9e636b4803 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQConnectionFactoryConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQConnectionFactoryConfiguration.java @@ -39,7 +39,6 @@ import org.springframework.context.annotation.Configuration; * @author Phillip Webb * @author Andy Wilkinson * @author Aurélien Leboulanger - * @since 1.1.0 */ @Configuration @ConditionalOnMissingBean(ConnectionFactory.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQConnectionFactoryFactory.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQConnectionFactoryFactory.java index 04c10aead2d..1a16a1269b5 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQConnectionFactoryFactory.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQConnectionFactoryFactory.java @@ -32,7 +32,6 @@ import org.springframework.util.StringUtils; * * @author Phillip Webb * @author Venil Noronha - * @since 1.2.0 */ class ActiveMQConnectionFactoryFactory { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQProperties.java index 97a053af4d8..c8853918ac5 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQProperties.java @@ -28,6 +28,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; * @author Stephane Nicoll * @author Aurélien Leboulanger * @author Venil Noronha + * @since 1.0.0 */ @ConfigurationProperties(prefix = "spring.activemq") public class ActiveMQProperties { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQXAConnectionFactoryConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQXAConnectionFactoryConfiguration.java index c59bdb85b61..615f6f8dca0 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQXAConnectionFactoryConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQXAConnectionFactoryConfiguration.java @@ -39,7 +39,6 @@ import org.springframework.context.annotation.Primary; * * @author Phillip Webb * @author Aurélien Leboulanger - * @since 1.2.0 */ @Configuration @ConditionalOnClass(TransactionManager.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/artemis/ArtemisXAConnectionFactoryConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/artemis/ArtemisXAConnectionFactoryConfiguration.java index 4d333218d4a..4678bcf9873 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/artemis/ArtemisXAConnectionFactoryConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/artemis/ArtemisXAConnectionFactoryConfiguration.java @@ -35,7 +35,6 @@ import org.springframework.context.annotation.Primary; * * @author Eddú Meléndez * @author Phillip Webb - * @since 1.3.0 */ @Configuration @ConditionalOnMissingBean(ConnectionFactory.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jmx/JmxAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jmx/JmxAutoConfiguration.java index 3aeded7fa44..90422af3857 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jmx/JmxAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jmx/JmxAutoConfiguration.java @@ -49,6 +49,7 @@ import org.springframework.util.StringUtils; * To disable auto export of annotation beans set {@code spring.jmx.enabled: false}. * * @author Christian Dupuis + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ MBeanExporter.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaAnnotationDrivenConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaAnnotationDrivenConfiguration.java index c127eab1399..a824a9bbdea 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaAnnotationDrivenConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaAnnotationDrivenConfiguration.java @@ -29,7 +29,6 @@ import org.springframework.kafka.core.ConsumerFactory; * Configuration for Kafka annotation-driven support. * * @author Gary Russell - * @since 1.5.0 */ @Configuration @ConditionalOnClass(EnableKafka.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/logging/AutoConfigurationReportLoggingInitializer.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/logging/AutoConfigurationReportLoggingInitializer.java index 5bd98cdfa56..f39f115326c 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/logging/AutoConfigurationReportLoggingInitializer.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/logging/AutoConfigurationReportLoggingInitializer.java @@ -45,6 +45,7 @@ import org.springframework.core.ResolvableType; * @author Dave Syer * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class AutoConfigurationReportLoggingInitializer implements ApplicationContextInitializer { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mobile/DeviceResolverAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mobile/DeviceResolverAutoConfiguration.java index d2d9369138d..fa6c06008e2 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mobile/DeviceResolverAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mobile/DeviceResolverAutoConfiguration.java @@ -39,6 +39,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter * {@link DeviceResolver}. * * @author Roy Clarkson + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ DeviceResolverHandlerInterceptor.class, DeviceHandlerMethodArgumentResolver.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoAutoConfiguration.java index 74716099144..4bd5db55204 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoAutoConfiguration.java @@ -38,6 +38,7 @@ import org.springframework.core.env.Environment; * @author Dave Syer * @author Oliver Gierke * @author Phillip Webb + * @since 1.0.0 */ @Configuration @ConditionalOnClass(MongoClient.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java index 0c0eb1821a9..08064ab196a 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java @@ -41,6 +41,7 @@ import org.springframework.core.env.Environment; * @author Eddú Meléndez * @author Stephane Nicoll * @author Nasko Vasilev + * @since 1.0.0 */ @ConfigurationProperties(prefix = "spring.data.mongodb") public class MongoProperties { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/DataSourceInitializedPublisher.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/DataSourceInitializedPublisher.java index e849d0052be..05d91727ea5 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/DataSourceInitializedPublisher.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/DataSourceInitializedPublisher.java @@ -37,7 +37,6 @@ import org.springframework.core.type.AnnotationMetadata; * be registered via the inner {@link Registrar} class. * * @author Dave Syer - * @since 1.1.0 */ class DataSourceInitializedPublisher implements BeanPostProcessor { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.java index dfc3d0cb27b..2415e02c9dd 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.java @@ -58,6 +58,7 @@ import org.springframework.util.ClassUtils; * @author Josh Long * @author Manuel Doninger * @author Andy Wilkinson + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ LocalContainerEntityManagerFactoryBean.class, EntityManager.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration.java index f44525989c5..04a41d5e223 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration.java @@ -62,6 +62,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter * @author Andy Wilkinson * @author Kazuki Shimizu * @author Eddú Meléndez + * @since 1.0.0 */ @EnableConfigurationProperties(JpaProperties.class) @Import(DataSourceInitializedPublisher.Registrar.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/reactor/ReactorAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/reactor/ReactorAutoConfiguration.java index d4820e465e2..e6624919bd8 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/reactor/ReactorAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/reactor/ReactorAutoConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ import org.springframework.context.annotation.Configuration; * {@link EnableAutoConfiguration Auto-configuration} for Reactor. * * @author Dave Syer + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ EnableReactor.class, Environment.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.java index f704b4b5234..a39c2231d4c 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.java @@ -61,6 +61,7 @@ import org.springframework.util.ReflectionUtils; * * @author Dave Syer * @author Rob Winch + * @since 1.0.0 */ @Configuration @ConditionalOnBean(ObjectPostProcessor.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/FallbackWebSecurityAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/FallbackWebSecurityAutoConfiguration.java index 081b93b9815..c3313b853fd 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/FallbackWebSecurityAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/FallbackWebSecurityAutoConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur * defines an empty {@code @EnableWebSecurity}. * * @author Dave Syer + * @since 1.0.0 */ @ConditionalOnProperty(prefix = "security.basic", name = "enabled", havingValue = "false") @ConditionalOnBean(WebSecurityConfigurerAdapter.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityAutoConfiguration.java index 2080328b77d..2376cc43a1a 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityAutoConfiguration.java @@ -43,6 +43,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ AuthenticationManager.class, GlobalAuthenticationConfigurerAdapter.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityDataConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityDataConfiguration.java index 4d7bc12d768..9cb753fc473 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityDataConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityDataConfiguration.java @@ -27,7 +27,7 @@ import org.springframework.security.data.repository.query.SecurityEvaluationCont * Automatically adds Spring Security's integration with Spring Data. * * @author Rob Winch - * @since 1.3 + * @since 1.3.0 */ @Configuration @ConditionalOnClass({ SecurityEvaluationContextExtension.class, EvaluationContextExtensionSupport.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityFilterAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityFilterAutoConfiguration.java index 99df1bbea9f..7382d6f2c3f 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityFilterAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityFilterAutoConfiguration.java @@ -45,7 +45,7 @@ import org.springframework.security.web.context.AbstractSecurityWebApplicationIn * @author Rob Winch * @author Phillip Webb * @author Andy Wilkinson - * @since 1.3 + * @since 1.3.0 */ @Configuration @ConditionalOnWebApplication diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityPrerequisite.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityPrerequisite.java index 4ebdd28b929..4f12372ac22 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityPrerequisite.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityPrerequisite.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ package org.springframework.boot.autoconfigure.security; * configuration is evaluated. * * @author Dave Syer + * @since 1.2.1 */ public interface SecurityPrerequisite { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityProperties.java index 711ca6bc25a..76c640cdc71 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SecurityProperties.java @@ -33,6 +33,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ @ConfigurationProperties(prefix = "security") public class SecurityProperties implements SecurityPrerequisite { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java index 330c5cc6b8c..dad51d8d5b4 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java @@ -83,6 +83,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ @Configuration @EnableConfigurationProperties diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2SsoCustomConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2SsoCustomConfiguration.java index f84cce620c7..39941b4363c 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2SsoCustomConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2SsoCustomConfiguration.java @@ -42,6 +42,7 @@ import org.springframework.util.ReflectionUtils; * authentication filter and an authentication entry point. * * @author Dave Syer + * @since 1.3.0 */ @Configuration @Conditional(EnableOAuth2SsoCondition.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration.java index 4f4bdde4b01..985d8d8ba9e 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfiguration.java @@ -59,6 +59,7 @@ import org.springframework.web.servlet.resource.ResourceUrlEncodingFilter; * @author Stephane Nicoll * @author Brian Clozel * @author Eddú Meléndez + * @since 1.0.0 */ @Configuration @EnableConfigurationProperties(ThymeleafProperties.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/AtomikosJtaConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/AtomikosJtaConfiguration.java index b41a22d5eb1..d0f9bf8d4fb 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/AtomikosJtaConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/AtomikosJtaConfiguration.java @@ -53,7 +53,6 @@ import org.springframework.util.StringUtils; * @author Andy Wilkinson * @author Stephane Nicoll * @author Kazuki Shimizu - * @since 1.2.0 */ @Configuration @EnableConfigurationProperties({ AtomikosProperties.class, JtaProperties.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/BitronixJtaConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/BitronixJtaConfiguration.java index c6febb832ec..9ccb974866f 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/BitronixJtaConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/BitronixJtaConfiguration.java @@ -50,7 +50,6 @@ import org.springframework.util.StringUtils; * @author Phillip Webb * @author Andy Wilkinson * @author Kazuki Shimizu - * @since 1.2.0 */ @Configuration @EnableConfigurationProperties(JtaProperties.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/JndiJtaConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/JndiJtaConfiguration.java index 19b8f0955ea..28ac37c0b66 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/JndiJtaConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/JndiJtaConfiguration.java @@ -33,7 +33,6 @@ import org.springframework.transaction.jta.JtaTransactionManager; * @author Phillip Webb * @author Stephane Nicoll * @author Kazuki Shimizu - * @since 1.2.0 */ @Configuration @ConditionalOnClass(JtaTransactionManager.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/BasicErrorController.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/BasicErrorController.java index 3eca12e5986..d59f6506252 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/BasicErrorController.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/BasicErrorController.java @@ -44,6 +44,7 @@ import org.springframework.web.servlet.ModelAndView; * @author Phillip Webb * @author Michael Stummvoll * @author Stephane Nicoll + * @since 1.0.0 * @see ErrorAttributes * @see ErrorProperties */ diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/DispatcherServletAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/DispatcherServletAutoConfiguration.java index a8ff46da24d..2d0628592b0 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/DispatcherServletAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/DispatcherServletAutoConfiguration.java @@ -59,6 +59,7 @@ import org.springframework.web.servlet.DispatcherServlet; * @author Dave Syer * @author Stephane Nicoll * @author Brian Clozel + * @since 1.0.0 */ @AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE) @Configuration diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration.java index 23917fe2989..4a3cddacdc6 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration.java @@ -59,6 +59,7 @@ import org.springframework.util.ObjectUtils; * @author Dave Syer * @author Ivan Sopov * @author Stephane Nicoll + * @since 1.0.0 */ @AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE) @Configuration diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorController.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorController.java index 76784465ef0..08831e97cfb 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorController.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorController.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import org.springframework.stereotype.Controller; * render errors. Primarily used to know the error paths that will not need to be secured. * * @author Phillip Webb + * @since 1.0.0 */ public interface ErrorController { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration.java index 5d958b485e5..24306fa4bb8 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration.java @@ -73,6 +73,7 @@ import org.springframework.web.util.HtmlUtils; * @author Dave Syer * @author Andy Wilkinson * @author Stephane Nicoll + * @since 1.0.0 */ @Configuration @ConditionalOnWebApplication diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/GsonHttpMessageConvertersConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/GsonHttpMessageConvertersConfiguration.java index d9de015c1b8..a32e9dd2859 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/GsonHttpMessageConvertersConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/GsonHttpMessageConvertersConfiguration.java @@ -33,7 +33,6 @@ import org.springframework.http.converter.json.MappingJackson2HttpMessageConvert * Configuration for HTTP Message converters that use Gson. * * @author Andy Wilkinson - * @since 1.2.2 */ @Configuration @ConditionalOnClass(Gson.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMessageConverters.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMessageConverters.java index 89fe98d19d8..dc12aeda1b5 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMessageConverters.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMessageConverters.java @@ -50,6 +50,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupp * @author Dave Syer * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 * @see #HttpMessageConverters(HttpMessageConverter...) * @see #HttpMessageConverters(Collection) * @see #getConverters() diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfiguration.java index 5ce7f86fd3b..30717344366 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfiguration.java @@ -44,6 +44,7 @@ import org.springframework.http.converter.StringHttpMessageConverter; * @author Andy Wilkinson * @author Sebastien Deleuze * @author Stephane Nicoll + * @since 1.0.0 */ @Configuration @ConditionalOnClass(HttpMessageConverter.class) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/JacksonHttpMessageConvertersConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/JacksonHttpMessageConvertersConfiguration.java index 3a748e8ed6a..2398a518334 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/JacksonHttpMessageConvertersConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/JacksonHttpMessageConvertersConfiguration.java @@ -33,7 +33,6 @@ import org.springframework.http.converter.xml.MappingJackson2XmlHttpMessageConve * Configuration for HTTP message converters that use Jackson. * * @author Andy Wilkinson - * @since 1.2.2 */ @Configuration class JacksonHttpMessageConvertersConfiguration { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/MultipartAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/MultipartAutoConfiguration.java index 4d320631ade..e7e4eb7307d 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/MultipartAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/MultipartAutoConfiguration.java @@ -45,6 +45,7 @@ import org.springframework.web.servlet.DispatcherServlet; * @author Greg Turnquist * @author Josh Long * @author Toshiaki Maki + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ Servlet.class, StandardServletMultipartResolver.class, MultipartConfigElement.class }) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java index 1ceac2c7893..60a8e56c408 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java @@ -92,6 +92,7 @@ import org.springframework.util.StringUtils; * @author Quinten De Swaef * @author Venil Noronha * @author Aurélien Leboulanger + * @since 1.0.0 */ @ConfigurationProperties(prefix = "server", ignoreUnknownFields = true) public class ServerProperties implements EmbeddedServletContainerCustomizer, EnvironmentAware, Ordered { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.java index 8c984d50f0e..b59ad4670b8 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.java @@ -38,6 +38,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ @Configuration @EnableConfigurationProperties diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration.java index aaa61e5684a..d787af1986d 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration.java @@ -121,6 +121,7 @@ import org.springframework.web.servlet.view.InternalResourceViewResolver; * @author Sébastien Deleuze * @author Eddú Meléndez * @author Stephane Nicoll + * @since 1.0.0 */ @Configuration @ConditionalOnWebApplication diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java index fc6949f5df2..ed40ef82962 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/WebMvcProperties.java @@ -31,7 +31,7 @@ import org.springframework.validation.DefaultMessageCodesResolver; * @author Sébastien Deleuze * @author Stephane Nicoll * @author Eddú Meléndez - * @since 1.1 + * @since 1.1.0 */ @ConfigurationProperties(prefix = "spring.mvc") public class WebMvcProperties { diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/websocket/WebSocketAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/websocket/WebSocketAutoConfiguration.java index fe760b5374f..3a770ebeb46 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/websocket/WebSocketAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/websocket/WebSocketAutoConfiguration.java @@ -51,6 +51,7 @@ import org.springframework.context.annotation.Configuration; * @author Dave Syer * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ @Configuration @ConditionalOnClass({ Servlet.class, ServerContainer.class }) diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/DefaultCommandFactory.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/DefaultCommandFactory.java index ddfbb118d19..4ebe69fe866 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/DefaultCommandFactory.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/DefaultCommandFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,6 +37,7 @@ import org.springframework.boot.cli.command.test.TestCommand; * Default implementation of {@link CommandFactory}. * * @author Dave Syer + * @since 1.0.0 */ public class DefaultCommandFactory implements CommandFactory { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/SpringCli.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/SpringCli.java index 744e755290a..0cddb63b927 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/SpringCli.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/SpringCli.java @@ -39,6 +39,7 @@ import org.springframework.util.SystemPropertyUtils; * application. * * @author Phillip Webb + * @since 1.0.0 * @see #main(String...) * @see CommandRunner */ diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/archive/PackagedSpringApplicationLauncher.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/archive/PackagedSpringApplicationLauncher.java index 77251288c33..9a61f46ed69 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/archive/PackagedSpringApplicationLauncher.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/archive/PackagedSpringApplicationLauncher.java @@ -29,6 +29,7 @@ import org.springframework.boot.cli.app.SpringApplicationLauncher; * * @author Andy Wilkinson * @author Phillip Webb + * @since 1.0.0 */ public final class PackagedSpringApplicationLauncher { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/AbstractCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/AbstractCommand.java index a5e1133a091..1d7dba84a56 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/AbstractCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/AbstractCommand.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import org.springframework.boot.cli.command.options.OptionHelp; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 */ public abstract class AbstractCommand implements Command { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/Command.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/Command.java index c9c88883011..fb423d4f83a 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/Command.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/Command.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import org.springframework.boot.cli.command.status.ExitStatus; * @author Phillip Webb * @author Dave Syer * @author Stephane Nicoll + * @since 1.0.0 * @see #run(String...) */ public interface Command { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandException.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandException.java index a215dff8151..1130d39b6b2 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandException.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandException.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import java.util.Set; * by the {@link CommandRunner}. * * @author Phillip Webb + * @since 1.0.0 */ public class CommandException extends RuntimeException { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandFactory.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandFactory.java index 971e4583da0..e0189bbdcf8 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandFactory.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import java.util.ServiceLoader; * {@link ServiceLoader}. * * @author Dave Syer + * @since 1.0.0 */ public interface CommandFactory { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandRunner.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandRunner.java index 08685bcca15..e3bd80eb7d4 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandRunner.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/CommandRunner.java @@ -33,6 +33,7 @@ import org.springframework.util.StringUtils; * Main class used to run {@link Command}s. * * @author Phillip Webb + * @since 1.0.0 * @see #addCommand(Command) * @see CommandRunner#runAndHandleErrors(String[]) */ diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/NoHelpCommandArgumentsException.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/NoHelpCommandArgumentsException.java index aed259fd90c..61f7161b1df 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/NoHelpCommandArgumentsException.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/NoHelpCommandArgumentsException.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.cli.command; * Exception used to when the help command is called without arguments. * * @author Phillip Webb + * @since 1.0.0 */ public class NoHelpCommandArgumentsException extends CommandException { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/NoSuchCommandException.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/NoSuchCommandException.java index ce329b195d2..5e7f1382d2c 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/NoSuchCommandException.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/NoSuchCommandException.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.cli.command; * Exception used when a command is not found. * * @author Phillip Webb + * @since 1.0.0 */ public class NoSuchCommandException extends CommandException { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/OptionParsingCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/OptionParsingCommand.java index 4ecfe8a5380..b9b0c648fd9 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/OptionParsingCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/OptionParsingCommand.java @@ -27,6 +27,7 @@ import org.springframework.boot.cli.command.status.ExitStatus; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 * @see OptionHandler */ public abstract class OptionParsingCommand extends AbstractCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/archive/JarCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/archive/JarCommand.java index 8ac8fa1eee9..cee7698aa14 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/archive/JarCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/archive/JarCommand.java @@ -27,6 +27,7 @@ import org.springframework.boot.loader.tools.LibraryScope; * * @author Andy Wilkinson * @author Phillip Webb + * @since 1.3.0 */ public class JarCommand extends ArchiveCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java index ffdae51f190..d6078ed4472 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HelpCommand.java @@ -36,6 +36,7 @@ import org.springframework.boot.cli.util.Log; * Internal {@link Command} used for 'help' requests. * * @author Phillip Webb + * @since 1.0.0 */ public class HelpCommand extends AbstractCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HintCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HintCommand.java index e37c79063e4..d17307e3dff 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HintCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/HintCommand.java @@ -32,6 +32,7 @@ import org.springframework.boot.cli.util.Log; * called with the current index followed by a list of arguments already typed. * * @author Phillip Webb + * @since 1.0.0 */ public class HintCommand extends AbstractCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/VersionCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/VersionCommand.java index c350b6b547a..269dd7a5d7a 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/VersionCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/core/VersionCommand.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.springframework.boot.cli.util.Log; * {@link Command} to display the 'version' number. * * @author Phillip Webb + * @since 1.0.0 */ public class VersionCommand extends AbstractCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/grab/GrabCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/grab/GrabCommand.java index d1f4c34c75b..024cdc7a420 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/grab/GrabCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/grab/GrabCommand.java @@ -35,6 +35,7 @@ import org.springframework.boot.cli.compiler.grape.RepositoryConfiguration; * {@link Command} to grab the dependencies of one or more Groovy scripts. * * @author Andy Wilkinson + * @since 1.0.0 */ public class GrabCommand extends OptionParsingCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/Dependency.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/Dependency.java index 461d87ffcde..0a8cf694504 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/Dependency.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/Dependency.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,7 +20,6 @@ package org.springframework.boot.cli.command.init; * Provide some basic information about a dependency. * * @author Stephane Nicoll - * @since 1.2.0 */ final class Dependency { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java index 379f776b8bd..008ebdefd67 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java @@ -41,7 +41,6 @@ import org.springframework.util.StringUtils; * Invokes the initializr service over HTTP. * * @author Stephane Nicoll - * @since 1.2.0 */ class InitializrService { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrServiceMetadata.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrServiceMetadata.java index bf424d66e18..27b3ab6e173 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrServiceMetadata.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrServiceMetadata.java @@ -30,7 +30,6 @@ import org.json.JSONObject; * Define the metadata available for a particular service instance. * * @author Stephane Nicoll - * @since 1.2.0 */ class InitializrServiceMetadata { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationRequest.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationRequest.java index b4e9dabe017..d85106a892e 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationRequest.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationRequest.java @@ -33,7 +33,6 @@ import org.springframework.util.StringUtils; * * @author Stephane Nicoll * @author Eddú Meléndez - * @since 1.2.0 */ class ProjectGenerationRequest { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationResponse.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationResponse.java index e1b2f8570e7..6b5c33779a7 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationResponse.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerationResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ import org.apache.http.entity.ContentType; * Represent the response of a {@link ProjectGenerationRequest}. * * @author Stephane Nicoll - * @since 1.2.0 */ class ProjectGenerationResponse { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerator.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerator.java index 10aa9b8061b..f4a1542934e 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerator.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectGenerator.java @@ -31,7 +31,6 @@ import org.springframework.util.StreamUtils; * Helper class used to generate the project. * * @author Stephane Nicoll - * @since 1.2.0 */ class ProjectGenerator { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectType.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectType.java index 83f8fe5036e..910ef019e66 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectType.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectType.java @@ -24,7 +24,6 @@ import java.util.Map; * Represent a project type that is supported by a service. * * @author Stephane Nicoll - * @since 1.2.0 */ class ProjectType { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ServiceCapabilitiesReportGenerator.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ServiceCapabilitiesReportGenerator.java index 343b083d881..cb2afed5a76 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ServiceCapabilitiesReportGenerator.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ServiceCapabilitiesReportGenerator.java @@ -32,7 +32,6 @@ import java.util.TreeSet; * * @author Stephane Nicoll * @author Andy Wilkinson - * @since 1.2.0 */ class ServiceCapabilitiesReportGenerator { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/DependencyResolver.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/DependencyResolver.java index 1dcac388943..2d635782bd7 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/DependencyResolver.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/DependencyResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,7 +24,6 @@ import java.util.List; * to {@link File}s. * * @author Andy Wilkinson - * @since 1.2.0 */ interface DependencyResolver { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/GroovyGrabDependencyResolver.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/GroovyGrabDependencyResolver.java index 8bfd6270d60..398a716502c 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/GroovyGrabDependencyResolver.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/GroovyGrabDependencyResolver.java @@ -36,7 +36,6 @@ import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration; * * @author Dave Syer * @author Andy Wilkinson - * @since 1.2.0 */ class GroovyGrabDependencyResolver implements DependencyResolver { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/Installer.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/Installer.java index 384190ba199..3454fb69b14 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/Installer.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/Installer.java @@ -38,7 +38,6 @@ import org.springframework.util.SystemPropertyUtils; * Shared logic for the {@link InstallCommand} and {@link UninstallCommand}. * * @author Andy Wilkinson - * @since 1.2.0 */ class Installer { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/CompilerOptionHandler.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/CompilerOptionHandler.java index 6ce043a31da..35102545ef0 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/CompilerOptionHandler.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/CompilerOptionHandler.java @@ -26,6 +26,7 @@ import joptsimple.OptionSpec; * * @author Andy Wilkinson * @author Dave Syer + * @since 1.0.0 */ public class CompilerOptionHandler extends OptionHandler { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java index b2d024d336e..9f6c6f041da 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java @@ -43,6 +43,7 @@ import org.springframework.boot.cli.command.status.ExitStatus; * Delegate used by {@link OptionParsingCommand} to parse options and run the command. * * @author Dave Syer + * @since 1.0.0 * @see OptionParsingCommand * @see #run(OptionSet) */ diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHelp.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHelp.java index d1986810faf..7f2d80ac4ee 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHelp.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHelp.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import java.util.Set; * Help for a specific option. * * @author Phillip Webb + * @since 1.0.0 */ public interface OptionHelp { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionSetGroovyCompilerConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionSetGroovyCompilerConfiguration.java index 0b393532398..43ba4286152 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionSetGroovyCompilerConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionSetGroovyCompilerConfiguration.java @@ -31,6 +31,7 @@ import org.springframework.boot.cli.compiler.grape.RepositoryConfiguration; * {@link GroovyCompilerConfiguration}. * * @author Andy Wilkinson + * @since 1.0.0 */ public class OptionSetGroovyCompilerConfiguration implements GroovyCompilerConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/SourceOptions.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/SourceOptions.java index 4fc336b24dc..530e64174dd 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/SourceOptions.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/SourceOptions.java @@ -33,6 +33,7 @@ import org.springframework.util.Assert; * @author Dave Syer * @author Greg Turnquist * @author Andy Wilkinson + * @since 1.0.0 */ public class SourceOptions { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/RunCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/RunCommand.java index 4ba76ef4a0e..6806066dc5a 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/RunCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/RunCommand.java @@ -40,6 +40,7 @@ import org.springframework.boot.cli.compiler.grape.RepositoryConfiguration; * @author Phillip Webb * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 * @see SpringApplicationRunner */ public class RunCommand extends OptionParsingCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/SpringApplicationRunner.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/SpringApplicationRunner.java index de8ec795378..95c8365f622 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/SpringApplicationRunner.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/SpringApplicationRunner.java @@ -38,6 +38,7 @@ import org.springframework.boot.cli.util.ResourceUtils; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 */ public class SpringApplicationRunner { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/SpringApplicationRunnerConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/SpringApplicationRunnerConfiguration.java index f3e8423ea36..2956f241b27 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/SpringApplicationRunnerConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/SpringApplicationRunnerConfiguration.java @@ -24,6 +24,7 @@ import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration; * Configuration for the {@link SpringApplicationRunner}. * * @author Phillip Webb + * @since 1.0.0 */ public interface SpringApplicationRunnerConfiguration extends GroovyCompilerConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/CommandCompleter.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/CommandCompleter.java index 7a0847549a0..69eae23274c 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/CommandCompleter.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/CommandCompleter.java @@ -39,6 +39,7 @@ import org.springframework.boot.cli.util.Log; * * @author Jon Brisbin * @author Phillip Webb + * @since 1.0.0 */ public class CommandCompleter extends StringsCompleter { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/PromptCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/PromptCommand.java index e82d620e4a4..7715dfcdac2 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/PromptCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/PromptCommand.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import org.springframework.boot.cli.command.status.ExitStatus; * {@link Command} to change the {@link Shell} prompt. * * @author Dave Syer + * @since 1.0.0 */ public class PromptCommand extends AbstractCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java index 08ed4904022..834602bb183 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/Shell.java @@ -45,6 +45,7 @@ import org.springframework.util.StringUtils; * @author Jon Brisbin * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class Shell { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellCommand.java index bb5501d80a0..86e12651c9e 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellCommand.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import org.springframework.boot.cli.command.status.ExitStatus; * {@link Command} to start a nested REPL shell. * * @author Phillip Webb + * @since 1.0.0 * @see Shell */ public class ShellCommand extends AbstractCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellExitException.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellExitException.java index 562485525a2..af397a674d1 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellExitException.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellExitException.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.springframework.boot.cli.command.CommandException; * Exception used to stop the {@link Shell}. * * @author Phillip Webb + * @since 1.0.0 */ public class ShellExitException extends CommandException { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellPrompts.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellPrompts.java index 30828b35c95..0e770000157 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellPrompts.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/shell/ShellPrompts.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import java.util.Stack; * Abstraction to manage a stack of prompts. * * @author Phillip Webb + * @since 1.0.0 */ public class ShellPrompts { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/status/ExitStatus.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/status/ExitStatus.java index d72efd1d7e1..2b35f47dfca 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/status/ExitStatus.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/status/ExitStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.cli.command.status; * Encapsulation of the outcome of a command. * * @author Dave Syer + * @since 1.0.0 * @see ExitStatus#OK * @see ExitStatus#ERROR * diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestCommand.java index 04547c08f6d..23a3d489415 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestCommand.java @@ -30,6 +30,7 @@ import org.springframework.boot.cli.command.status.ExitStatus; * * @author Greg Turnquist * @author Phillip Webb + * @since 1.0.0 */ public class TestCommand extends OptionParsingCommand { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestRunner.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestRunner.java index 28e1900e9a8..da1d02fea70 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestRunner.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestRunner.java @@ -30,7 +30,8 @@ import org.springframework.util.ReflectionUtils; * Compile and run groovy based tests. * * @author Phillip Webb - * @author Graeme Rocher + * @author Graeme Roche + * @since 1.0.0 */ public class TestRunner { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestRunnerConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestRunnerConfiguration.java index 270d7c7e189..b9c330ce23e 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestRunnerConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/test/TestRunnerConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration; * Configuration for {@link TestRunner}. * * @author Phillip Webb + * @since 1.0.0 */ public interface TestRunnerConfiguration extends GroovyCompilerConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/AstUtils.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/AstUtils.java index f979c7548d6..a463d502683 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/AstUtils.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/AstUtils.java @@ -44,6 +44,7 @@ import org.springframework.util.PatternMatchUtils; * @author Phillip Webb * @author Dave Syer * @author Greg Turnquist + * @since 1.0.0 */ public abstract class AstUtils { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/CompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/CompilerAutoConfiguration.java index bf918284e88..886298b051b 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/CompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/CompilerAutoConfiguration.java @@ -29,6 +29,7 @@ import org.codehaus.groovy.control.customizers.ImportCustomizer; * {@link CompilePhase#CONVERSION} Groovy compile phase. * * @author Phillip Webb + * @since 1.0.0 */ public abstract class CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyAutoConfigurationTransformation.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyAutoConfigurationTransformation.java index f40b52cf9d9..8f5af166612 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyAutoConfigurationTransformation.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyAutoConfigurationTransformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ import org.springframework.core.annotation.Order; * @author Phillip Webb * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ @Order(DependencyAutoConfigurationTransformation.ORDER) public class DependencyAutoConfigurationTransformation implements ASTTransformation { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java index bd419e1b629..1cfc93ac1df 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java @@ -36,6 +36,7 @@ import org.springframework.boot.cli.compiler.grape.DependencyResolutionContext; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class DependencyCustomizer { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ExtendedGroovyClassLoader.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ExtendedGroovyClassLoader.java index 939d163fe7e..40c241c4c44 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ExtendedGroovyClassLoader.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ExtendedGroovyClassLoader.java @@ -46,6 +46,7 @@ import org.springframework.util.StringUtils; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 */ public class ExtendedGroovyClassLoader extends GroovyClassLoader { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyBeansTransformation.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyBeansTransformation.java index ac849d85cbd..71121472be3 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyBeansTransformation.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyBeansTransformation.java @@ -39,6 +39,7 @@ import org.springframework.core.annotation.Order; * interface. * * @author Dave Syer + * @since 1.0.0 */ @Order(GroovyBeansTransformation.ORDER) public class GroovyBeansTransformation implements ASTTransformation { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompiler.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompiler.java index 03e6ef6a8bf..7375e651cad 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompiler.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompiler.java @@ -70,6 +70,7 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator; * @author Phillip Webb * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ public class GroovyCompiler { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompilerConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompilerConfiguration.java index 6fc41a9d2ac..7dd9dbaaddd 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompilerConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompilerConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.springframework.boot.cli.compiler.grape.RepositoryConfiguration; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public interface GroovyCompilerConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompilerScope.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompilerScope.java index 8a918fae870..adf22b2cb7f 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompilerScope.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompilerScope.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.cli.compiler; * The scope in which a groovy compiler operates. * * @author Phillip Webb + * @since 1.0.0 */ public enum GroovyCompilerScope { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java index f30196ee9f9..9fe518d1bd9 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java @@ -38,6 +38,7 @@ import org.springframework.util.StringUtils; * * @author Andy Wilkinson * @author Dave Syer + * @since 1.0.0 */ public final class RepositoryConfigurationFactory { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ResolveDependencyCoordinatesTransformation.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ResolveDependencyCoordinatesTransformation.java index 854a71b45f4..8d8a90fd9ea 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ResolveDependencyCoordinatesTransformation.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ResolveDependencyCoordinatesTransformation.java @@ -36,6 +36,7 @@ import org.springframework.core.annotation.Order; * * @author Andy Wilkinson * @author Phillip Webb + * @since 1.0.0 */ @Order(ResolveDependencyCoordinatesTransformation.ORDER) public class ResolveDependencyCoordinatesTransformation extends AnnotatedNodeASTTransformation { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/SmartImportCustomizer.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/SmartImportCustomizer.java index 722b1802e3d..5eb553e60a9 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/SmartImportCustomizer.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/SmartImportCustomizer.java @@ -27,7 +27,6 @@ import org.codehaus.groovy.control.customizers.ImportCustomizer; * class with the same name is not already explicitly imported. * * @author Dave Syer - * @since 1.1 */ class SmartImportCustomizer extends ImportCustomizer { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/SpringBootAstTransformation.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/SpringBootAstTransformation.java index ccd7455f91b..b46c8688f75 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/SpringBootAstTransformation.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/SpringBootAstTransformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import org.codehaus.groovy.transform.ASTTransformation; * {@code META-INF/services}. * * @author Dave Syer + * @since 1.0.0 */ public interface SpringBootAstTransformation extends ASTTransformation { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JUnitCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JUnitCompilerAutoConfiguration.java index 0a968b15878..889588b09fd 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JUnitCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JUnitCompilerAutoConfiguration.java @@ -28,6 +28,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * {@link CompilerAutoConfiguration} for JUnit. * * @author Greg Turnquist + * @since 1.0.0 */ public class JUnitCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JdbcCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JdbcCompilerAutoConfiguration.java index 86219f8c982..abf70a9d925 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JdbcCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JdbcCompilerAutoConfiguration.java @@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * {@link CompilerAutoConfiguration} for Spring JDBC. * * @author Dave Syer + * @since 1.0.0 */ public class JdbcCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JmsCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JmsCompilerAutoConfiguration.java index fe511a61c7c..9e0d2fc01b5 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JmsCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/JmsCompilerAutoConfiguration.java @@ -29,6 +29,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * * @author Greg Turnquist * @author Stephane Nicoll + * @since 1.0.0 */ public class JmsCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/RabbitCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/RabbitCompilerAutoConfiguration.java index 1f5f11ce298..a7632056c2e 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/RabbitCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/RabbitCompilerAutoConfiguration.java @@ -29,6 +29,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * * @author Greg Turnquist * @author Stephane Nicoll + * @since 1.0.0 */ public class RabbitCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/ReactorCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/ReactorCompilerAutoConfiguration.java index d8591d7f716..ab25722f906 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/ReactorCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/ReactorCompilerAutoConfiguration.java @@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * {@link CompilerAutoConfiguration} for the Reactor. * * @author Dave Syer + * @since 1.0.0 */ public class ReactorCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpockCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpockCompilerAutoConfiguration.java index b8491e4f403..bf691032a87 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpockCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpockCompilerAutoConfiguration.java @@ -28,6 +28,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * {@link CompilerAutoConfiguration} for Spock test framework. * * @author Greg Turnquist + * @since 1.0.0 */ public class SpockCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBatchCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBatchCompilerAutoConfiguration.java index 36669d72f9e..bb880fb5f3b 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBatchCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBatchCompilerAutoConfiguration.java @@ -28,6 +28,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class SpringBatchCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java index d392ee9c7a8..f3e489d05a0 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringBootCompilerAutoConfiguration.java @@ -34,6 +34,7 @@ import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class SpringBootCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringIntegrationCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringIntegrationCompilerAutoConfiguration.java index e6da4974930..ac7a8864c48 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringIntegrationCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringIntegrationCompilerAutoConfiguration.java @@ -28,6 +28,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * * @author Dave Syer * @author Artem Bilan + * @since 1.0.0 */ public class SpringIntegrationCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMobileCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMobileCompilerAutoConfiguration.java index 250e98b2e7b..106b78c308e 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMobileCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMobileCompilerAutoConfiguration.java @@ -30,6 +30,7 @@ import org.springframework.boot.groovy.EnableDeviceResolver; * * @author Roy Clarkson * @author Dave Syer + * @since 1.0.0 */ public class SpringMobileCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMvcCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMvcCompilerAutoConfiguration.java index 1b443d4e7d6..0d5dd70f666 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMvcCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringMvcCompilerAutoConfiguration.java @@ -29,6 +29,7 @@ import org.springframework.boot.groovy.GroovyTemplate; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class SpringMvcCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringSecurityCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringSecurityCompilerAutoConfiguration.java index 2f6d3a86158..bc42f54cde3 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringSecurityCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringSecurityCompilerAutoConfiguration.java @@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * {@link CompilerAutoConfiguration} for Spring Security. * * @author Dave Syer + * @since 1.0.0 */ public class SpringSecurityCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringWebsocketCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringWebsocketCompilerAutoConfiguration.java index d7b939ab506..530aa0acc34 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringWebsocketCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringWebsocketCompilerAutoConfiguration.java @@ -27,6 +27,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * {@link CompilerAutoConfiguration} for Spring Websocket. * * @author Dave Syer + * @since 1.0.0 */ public class SpringWebsocketCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/TransactionManagementCompilerAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/TransactionManagementCompilerAutoConfiguration.java index 64d6dd615b1..b75203fa18b 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/TransactionManagementCompilerAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/TransactionManagementCompilerAutoConfiguration.java @@ -28,6 +28,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class TransactionManagementCompilerAutoConfiguration extends CompilerAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/ArtifactCoordinatesResolver.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/ArtifactCoordinatesResolver.java index ae0b3bdf1ef..33d0d28cf24 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/ArtifactCoordinatesResolver.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/ArtifactCoordinatesResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ package org.springframework.boot.cli.compiler.dependencies; * metadata to resolve the groupId and version. * * @author Andy Wilkinson + * @since 1.0.0 */ public interface ArtifactCoordinatesResolver { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/DependencyManagementArtifactCoordinatesResolver.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/DependencyManagementArtifactCoordinatesResolver.java index 0fd5dd0e852..9760f86a1ec 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/DependencyManagementArtifactCoordinatesResolver.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/dependencies/DependencyManagementArtifactCoordinatesResolver.java @@ -24,6 +24,7 @@ import org.springframework.util.StringUtils; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class DependencyManagementArtifactCoordinatesResolver implements ArtifactCoordinatesResolver { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngine.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngine.java index 24e6a81a4c4..3fac153fada 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngine.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngine.java @@ -49,6 +49,7 @@ import org.eclipse.aether.util.filter.DependencyFilterUtils; * * @author Andy Wilkinson * @author Phillip Webb + * @since 1.0.0 */ @SuppressWarnings("rawtypes") public class AetherGrapeEngine implements GrapeEngine { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngineFactory.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngineFactory.java index dd970c77129..f3a46e7588b 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngineFactory.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngineFactory.java @@ -39,6 +39,7 @@ import org.eclipse.aether.transport.http.HttpTransporterFactory; * Utility class to create a pre-configured {@link AetherGrapeEngine}. * * @author Andy Wilkinson + * @since 1.0.0 */ public abstract class AetherGrapeEngineFactory { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/DefaultRepositorySystemSessionAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/DefaultRepositorySystemSessionAutoConfiguration.java index c63c4155b5a..b61756f405f 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/DefaultRepositorySystemSessionAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/DefaultRepositorySystemSessionAutoConfiguration.java @@ -33,6 +33,7 @@ import org.springframework.util.StringUtils; * configuration, applies sensible defaults. * * @author Andy Wilkinson + * @since 1.0.0 */ public class DefaultRepositorySystemSessionAutoConfiguration implements RepositorySystemSessionAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/DependencyResolutionFailedException.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/DependencyResolutionFailedException.java index 8905e28d43d..8b7e5d864af 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/DependencyResolutionFailedException.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/DependencyResolutionFailedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.cli.compiler.grape; * Thrown to indicate a failure during dependency resolution. * * @author Andy Wilkinson + * @since 1.0.0 */ @SuppressWarnings("serial") public class DependencyResolutionFailedException extends RuntimeException { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/GrapeEngineInstaller.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/GrapeEngineInstaller.java index 727c9a8941c..ad2eb597140 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/GrapeEngineInstaller.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/GrapeEngineInstaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import groovy.grape.GrapeEngine; * Utility to install a specific {@link Grape} engine with Groovy. * * @author Andy Wilkinson + * @since 1.0.0 */ public abstract class GrapeEngineInstaller { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/RepositoryConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/RepositoryConfiguration.java index 7b6f751f281..4b3438304c1 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/RepositoryConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/RepositoryConfiguration.java @@ -24,6 +24,7 @@ import org.springframework.util.ObjectUtils; * The configuration of a repository. * * @author Andy Wilkinson + * @since 1.0.0 */ public final class RepositoryConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/RepositorySystemSessionAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/RepositorySystemSessionAutoConfiguration.java index c6e569ae82b..6b058fe282e 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/RepositorySystemSessionAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/RepositorySystemSessionAutoConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import org.eclipse.aether.RepositorySystem; * an {@link AetherGrapeEngine}. * * @author Andy Wilkinson + * @since 1.0.0 */ public interface RepositorySystemSessionAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/SettingsXmlRepositorySystemSessionAutoConfiguration.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/SettingsXmlRepositorySystemSessionAutoConfiguration.java index ed893269f40..04974810bf4 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/SettingsXmlRepositorySystemSessionAutoConfiguration.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/grape/SettingsXmlRepositorySystemSessionAutoConfiguration.java @@ -28,6 +28,7 @@ import org.springframework.boot.cli.compiler.maven.MavenSettingsReader; * determine the configuration settings. * * @author Andy Wilkinson + * @since 1.0.0 */ public class SettingsXmlRepositorySystemSessionAutoConfiguration implements RepositorySystemSessionAutoConfiguration { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/util/Log.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/util/Log.java index 0ae44752dd5..f67dc18e586 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/util/Log.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/util/Log.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.cli.util; * Simple logger used by the CLI. * * @author Phillip Webb + * @since 1.0.0 */ public abstract class Log { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/util/ResourceUtils.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/util/ResourceUtils.java index e1cd71660bd..442484e701b 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/util/ResourceUtils.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/util/ResourceUtils.java @@ -39,6 +39,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public abstract class ResourceUtils { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/groovy/DelegateTestRunner.java b/spring-boot-cli/src/main/java/org/springframework/boot/groovy/DelegateTestRunner.java index afc647f6ae5..21bf23407ad 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/groovy/DelegateTestRunner.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/groovy/DelegateTestRunner.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import org.springframework.boot.cli.command.test.TestRunner; * Delegate test runner to launch tests in user application classpath. * * @author Phillip Webb + * @since 1.0.0 * @see TestRunner */ public final class DelegateTestRunner { diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/groovy/EnableDeviceResolver.java b/spring-boot-cli/src/main/java/org/springframework/boot/groovy/EnableDeviceResolver.java index dce7fcc054b..d7af18f768b 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/groovy/EnableDeviceResolver.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/groovy/EnableDeviceResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import org.springframework.boot.cli.compiler.autoconfigure.SpringMobileCompilerA * Pseudo annotation used to trigger {@link SpringMobileCompilerAutoConfiguration}. * * @author Phillip Webb + * @since 1.0.0 */ @Target(ElementType.TYPE) @Documented diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/groovy/GroovyTemplate.java b/spring-boot-cli/src/main/java/org/springframework/boot/groovy/GroovyTemplate.java index c1a9cd687b1..2a6de606b92 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/groovy/GroovyTemplate.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/groovy/GroovyTemplate.java @@ -33,6 +33,7 @@ import org.codehaus.groovy.control.CompilationFailedException; * Helpful utilities for working with Groovy {@link Template}s. * * @author Dave Syer + * @since 1.0.0 */ public abstract class GroovyTemplate { diff --git a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/HateoasObjenesisCacheDisabler.java b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/HateoasObjenesisCacheDisabler.java index 32f993dc5ad..828f386f39d 100644 --- a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/HateoasObjenesisCacheDisabler.java +++ b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/HateoasObjenesisCacheDisabler.java @@ -33,7 +33,6 @@ import org.springframework.util.ReflectionUtils; * restarts. * * @author Andy Wilkinson - * @since 1.3.0 */ class HateoasObjenesisCacheDisabler { diff --git a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/remote/server/HttpStatusHandler.java b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/remote/server/HttpStatusHandler.java index 42d1ef88fd8..2282a745abc 100644 --- a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/remote/server/HttpStatusHandler.java +++ b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/remote/server/HttpStatusHandler.java @@ -27,6 +27,7 @@ import org.springframework.util.Assert; * {@link Handler} that responds with a specific {@link HttpStatus}. * * @author Phillip Webb + * @since 1.3.0 */ public class HttpStatusHandler implements Handler { diff --git a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/tunnel/server/RemoteDebugPortProvider.java b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/tunnel/server/RemoteDebugPortProvider.java index e128a72386a..755d6cbccce 100644 --- a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/tunnel/server/RemoteDebugPortProvider.java +++ b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/tunnel/server/RemoteDebugPortProvider.java @@ -26,6 +26,7 @@ import org.springframework.boot.lang.UsesUnsafeJava; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.3.0 */ public class RemoteDebugPortProvider implements PortProvider { diff --git a/spring-boot-docs/src/main/java/org/springframework/boot/kafka/KafkaSpecialProducerConsumerConfigExample.java b/spring-boot-docs/src/main/java/org/springframework/boot/kafka/KafkaSpecialProducerConsumerConfigExample.java index bdb0e5f8c8f..e9ebebce85e 100644 --- a/spring-boot-docs/src/main/java/org/springframework/boot/kafka/KafkaSpecialProducerConsumerConfigExample.java +++ b/spring-boot-docs/src/main/java/org/springframework/boot/kafka/KafkaSpecialProducerConsumerConfigExample.java @@ -36,7 +36,7 @@ import org.springframework.kafka.core.ProducerFactory; * common properties to the producer and consumer. * * @author Gary Russell - * @since 1.5 + * @since 1.5.0 */ public class KafkaSpecialProducerConsumerConfigExample { diff --git a/spring-boot-integration-tests/spring-boot-configuration-processor-tests/src/main/java/sample/AnnotatedSample.java b/spring-boot-integration-tests/spring-boot-configuration-processor-tests/src/main/java/sample/AnnotatedSample.java index c93b3e5f312..06c9695d291 100644 --- a/spring-boot-integration-tests/spring-boot-configuration-processor-tests/src/main/java/sample/AnnotatedSample.java +++ b/spring-boot-integration-tests/spring-boot-configuration-processor-tests/src/main/java/sample/AnnotatedSample.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; * Test that a valid type is generated if an annotation is present. * * @author Stephane Nicoll + * @since 1.5.10 */ @ConfigurationProperties("annotated") public class AnnotatedSample { diff --git a/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml b/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml index 96a7accdfd9..4972729e4bd 100644 --- a/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml +++ b/spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml @@ -29,4 +29,5 @@ + diff --git a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureTestDatabase.java b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureTestDatabase.java index e644bc7223f..196a9d19446 100644 --- a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureTestDatabase.java +++ b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureTestDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ import org.springframework.boot.test.autoconfigure.properties.SkipPropertyMappin * instead of any application defined or auto-configured {@link DataSource}. * * @author Phillip Webb + * @since 1.5.0 * @see TestDatabaseAutoConfiguration */ @Target({ ElementType.TYPE, ElementType.METHOD }) diff --git a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTest.java b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTest.java index 01e264ec5c5..a1e33dda113 100644 --- a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTest.java +++ b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jdbc/JdbcTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -54,6 +54,7 @@ import org.springframework.transaction.annotation.Transactional; * annotation. * * @author Stephane Nicoll + * @since 1.5.0 * @see AutoConfigureJdbc * @see AutoConfigureTestDatabase * @see AutoConfigureCache diff --git a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestDatabase.java b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestDatabase.java index 965d55faae3..670525b29c0 100644 --- a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestDatabase.java +++ b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ import org.springframework.boot.test.autoconfigure.properties.PropertyMapping; * instead of any application defined or auto-configured {@link DataSource}. * * @author Stephane Nicoll + * @since 1.4.0 * @deprecated as of 1.5 in favor of * {@link org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase} */ diff --git a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestEntityManager.java b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestEntityManager.java index dbca731fe4d..d907df46291 100644 --- a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestEntityManager.java +++ b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/AutoConfigureTestEntityManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.boot.autoconfigure.ImportAutoConfiguration; * {@link TestEntityManager}. * * @author Phillip Webb + * @since 1.4.0 * @see TestEntityManagerAutoConfiguration */ @Target({ ElementType.TYPE, ElementType.METHOD }) diff --git a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTest.java b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTest.java index 6f021abf54f..4b97e8840d3 100644 --- a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTest.java +++ b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/orm/jpa/DataJpaTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -56,6 +56,7 @@ import org.springframework.transaction.annotation.Transactional; * annotation. * * @author Phillip Webb + * @since 1.4.0 * @see AutoConfigureDataJpa * @see AutoConfigureTestDatabase * @see AutoConfigureTestEntityManager diff --git a/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java b/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java index fb1e1bc3a67..9688f82c745 100644 --- a/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java +++ b/spring-boot-test/src/main/java/org/springframework/boot/test/context/SpringBootContextLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -75,6 +75,7 @@ import org.springframework.web.context.support.GenericWebApplicationContext; * @author Phillip Webb * @author Andy Wilkinson * @author Stephane Nicoll + * @since 1.4.0 * @see SpringBootTest */ public class SpringBootContextLoader extends AbstractContextLoader { diff --git a/spring-boot-tools/spring-boot-autoconfigure-processor/src/main/java/org/springframework/boot/autoconfigureprocessor/AutoConfigureAnnotationProcessor.java b/spring-boot-tools/spring-boot-autoconfigure-processor/src/main/java/org/springframework/boot/autoconfigureprocessor/AutoConfigureAnnotationProcessor.java index 68844d9a748..e1ecab2c9b1 100644 --- a/spring-boot-tools/spring-boot-autoconfigure-processor/src/main/java/org/springframework/boot/autoconfigureprocessor/AutoConfigureAnnotationProcessor.java +++ b/spring-boot-tools/spring-boot-autoconfigure-processor/src/main/java/org/springframework/boot/autoconfigureprocessor/AutoConfigureAnnotationProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,6 +47,7 @@ import javax.tools.StandardLocation; * * @author Madhura Bhave * @author Phillip Webb + * @since 1.5.0 */ @SupportedAnnotationTypes({ "org.springframework.context.annotation.Configuration", "org.springframework.boot.autoconfigure.condition.ConditionalOnClass", diff --git a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataHint.java b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataHint.java index 6a20f2ed66d..cb62fc606c4 100644 --- a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataHint.java +++ b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataHint.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ import java.util.List; * A raw view of a hint used for parsing only. * * @author Stephane Nicoll - * @since 1.3.0 */ class ConfigurationMetadataHint { diff --git a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataItem.java b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataItem.java index 0f04c2f4551..6b53114cd6f 100644 --- a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataItem.java +++ b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataItem.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ package org.springframework.boot.configurationmetadata; * source. * * @author Stephane Nicoll - * @since 1.3.0 */ class ConfigurationMetadataItem extends ConfigurationMetadataProperty { diff --git a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/JsonReader.java b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/JsonReader.java index 70fc136b1aa..0c2d02893bf 100644 --- a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/JsonReader.java +++ b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/JsonReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,7 +32,6 @@ import org.json.JSONObject; * Read standard json metadata format as {@link ConfigurationMetadataRepository}. * * @author Stephane Nicoll - * @since 1.3.0 */ class JsonReader { diff --git a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/RawConfigurationMetadata.java b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/RawConfigurationMetadata.java index 289cabb46e7..546fc0f5682 100644 --- a/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/RawConfigurationMetadata.java +++ b/spring-boot-tools/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/RawConfigurationMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ import java.util.List; * A raw metadata structure. Used to initialize a {@link ConfigurationMetadataRepository}. * * @author Stephane Nicoll - * @since 1.3.0 */ class RawConfigurationMetadata { diff --git a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeElementMembers.java b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeElementMembers.java index 17c5650f702..03f7a73a6c0 100644 --- a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeElementMembers.java +++ b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeElementMembers.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +39,6 @@ import org.springframework.boot.configurationprocessor.fieldvalues.FieldValuesPa * * @author Stephane Nicoll * @author Phillip Webb - * @since 1.2.0 */ class TypeElementMembers { diff --git a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeExcludeFilter.java b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeExcludeFilter.java index 91bda91482b..c7ce10d51cf 100644 --- a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeExcludeFilter.java +++ b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeExcludeFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,6 @@ import javax.lang.model.type.TypeMirror; * * @author Stephane Nicoll * @author Andy Wilkinson - * @since 1.2.0 */ class TypeExcludeFilter { diff --git a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java index 77630d02109..831467bef25 100644 --- a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java +++ b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/TypeUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,6 @@ import javax.lang.model.util.Types; * * @author Stephane Nicoll * @author Phillip Webb - * @since 1.2.0 */ class TypeUtils { diff --git a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/ExpressionTree.java b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/ExpressionTree.java index 6fca6ce1945..c60fedbfb05 100644 --- a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/ExpressionTree.java +++ b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/ExpressionTree.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,7 +25,6 @@ import java.util.List; * * @author Phillip Webb * @author Stephane Nicoll - * @since 1.2.0 */ class ExpressionTree extends ReflectionWrapper { diff --git a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/ReflectionWrapper.java b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/ReflectionWrapper.java index 87fedd9faaf..cf3f8403568 100644 --- a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/ReflectionWrapper.java +++ b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/ReflectionWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ import java.lang.reflect.Method; * needing tools.jar on the classpath. * * @author Phillip Webb - * @since 1.2.0 */ class ReflectionWrapper { diff --git a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/Tree.java b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/Tree.java index ef3af1d2de5..6fa5700d625 100644 --- a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/Tree.java +++ b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/Tree.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,7 +24,6 @@ import java.lang.reflect.Proxy; * Reflection based access to {@code com.sun.source.tree.Tree}. * * @author Phillip Webb - * @since 1.2.0 */ class Tree extends ReflectionWrapper { diff --git a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/TreeVisitor.java b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/TreeVisitor.java index bc51288e03d..dcc72ec9709 100644 --- a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/TreeVisitor.java +++ b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/TreeVisitor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,7 +20,6 @@ package org.springframework.boot.configurationprocessor.fieldvalues.javac; * Reflection base alternative for {@code com.sun.source.tree.TreeVisitor}. * * @author Phillip Webb - * @since 1.2.0 */ interface TreeVisitor { diff --git a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/Trees.java b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/Trees.java index 32ea855f302..b697f50813f 100644 --- a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/Trees.java +++ b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/Trees.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,7 +25,6 @@ import javax.lang.model.element.Element; * Reflection based access to {@code com.sun.source.util.Trees}. * * @author Phillip Webb - * @since 1.2.0 */ final class Trees extends ReflectionWrapper { diff --git a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/VariableTree.java b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/VariableTree.java index 9feb13e0873..4f41aedb619 100644 --- a/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/VariableTree.java +++ b/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/fieldvalues/javac/VariableTree.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,7 +25,6 @@ import javax.lang.model.element.Modifier; * Reflection based access to {@code com.sun.source.tree.VariableTree}. * * @author Phillip Webb - * @since 1.2.0 */ class VariableTree extends ReflectionWrapper { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/PluginFeatures.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/PluginFeatures.java index b5115b03176..d352c55af6f 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/PluginFeatures.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/PluginFeatures.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import org.gradle.api.Project; * {@code SpringBootPlugin}. * * @author Phillip Webb + * @since 1.2.7 */ public interface PluginFeatures { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/SpringBootPluginExtension.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/SpringBootPluginExtension.java index 504f424b90b..82732d6e369 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/SpringBootPluginExtension.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/SpringBootPluginExtension.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,6 +46,7 @@ import org.springframework.boot.loader.tools.Layouts; * @author Dave Syer * @author Stephane Nicoll * @author Andy Wilkinson + * @since 1.2.7 */ public class SpringBootPluginExtension { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/agent/AgentPluginFeatures.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/agent/AgentPluginFeatures.java index db4a50c1994..ee95a609e30 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/agent/AgentPluginFeatures.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/agent/AgentPluginFeatures.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import org.springframework.boot.gradle.PluginFeatures; * {@link PluginFeatures} to add Java Agent support. * * @author Phillip Webb + * @since 1.2.7 */ public class AgentPluginFeatures implements PluginFeatures { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/agent/AgentTasksEnhancer.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/agent/AgentTasksEnhancer.java index 8fd5f2a99fa..7226937a2bc 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/agent/AgentTasksEnhancer.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/agent/AgentTasksEnhancer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,7 @@ import org.springframework.boot.gradle.SpringBootPluginExtension; * * @author Dave Syer * @author Phillip Webb + * @since 1.2.7 */ public class AgentTasksEnhancer implements Action { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/buildinfo/BuildInfo.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/buildinfo/BuildInfo.java index 784b3216f4e..f8bc2e51360 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/buildinfo/BuildInfo.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/buildinfo/BuildInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,6 +42,7 @@ import org.springframework.boot.loader.tools.BuildPropertiesWriter.ProjectDetail *

* * @author Andy Wilkinson + * @since 1.2.7 */ public class BuildInfo extends DefaultTask { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/DeprecatedSpringBootPlugin.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/DeprecatedSpringBootPlugin.java index f0e92470577..7aa09379a98 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/DeprecatedSpringBootPlugin.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/DeprecatedSpringBootPlugin.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.slf4j.LoggerFactory; * to use the new Gradle Plugin Portal-compatible ID {@code org.springframework.boot}. * * @author Andy Wilkinson + * @since 1.2.7 * @deprecated as of 1.4.2 in favor of {@link SpringBootPlugin} */ @Deprecated diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java index 299eb4c7d3a..87a9af3ff6e 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ import org.springframework.boot.gradle.run.RunPluginFeatures; * @author Phillip Webb * @author Dave Syer * @author Andy Wilkinson + * @since 1.2.7 */ public class SpringBootPlugin implements Plugin { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackagePluginFeatures.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackagePluginFeatures.java index 9992ec45536..3a87fcd8c82 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackagePluginFeatures.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackagePluginFeatures.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,6 +43,7 @@ import org.springframework.util.StringUtils; * @author Phillip Webb * @author Dave Syer * @author Andy Wilkinson + * @since 1.2.7 */ public class RepackagePluginFeatures implements PluginFeatures { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackageTask.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackageTask.java index 5700d691bf8..7317a2402d8 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackageTask.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/repackage/RepackageTask.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,6 +45,7 @@ import org.springframework.util.FileCopyUtils; * @author Phillip Webb * @author Janne Valkealahti * @author Andy Wilkinson + * @since 1.2.7 */ public class RepackageTask extends DefaultTask { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/BootRunTask.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/BootRunTask.java index 865df7c89b3..6be900173f0 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/BootRunTask.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/BootRunTask.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,6 +33,7 @@ import org.springframework.boot.loader.tools.FileUtils; * * @author Dave Syer * @author Phillip Webb + * @since 1.2.7 */ public class BootRunTask extends JavaExec { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/FindMainClassTask.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/FindMainClassTask.java index 95b436e37c5..573365b77af 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/FindMainClassTask.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/FindMainClassTask.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,6 +44,7 @@ import org.springframework.util.ReflectionUtils; * @author Dave Syer * @author Phillip Webb * @author Andy Wilkinson + * @since 1.2.7 */ public class FindMainClassTask extends DefaultTask { diff --git a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/RunPluginFeatures.java b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/RunPluginFeatures.java index 97f3baf20f3..993c3a87657 100644 --- a/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/RunPluginFeatures.java +++ b/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/run/RunPluginFeatures.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,6 +33,7 @@ import org.springframework.boot.gradle.PluginFeatures; * {@link PluginFeatures} to add run support. * * @author Phillip Webb + * @since 1.2.7 */ public class RunPluginFeatures implements PluginFeatures { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/AgentAttacher.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/AgentAttacher.java index 99cc3e48fd0..b99c5b6b9c0 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/AgentAttacher.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/AgentAttacher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import java.util.List; * Utility class to attach an instrumentation agent to the running JVM. * * @author Dave Syer + * @since 1.0.0 */ public abstract class AgentAttacher { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/BuildPropertiesWriter.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/BuildPropertiesWriter.java index 6b28352a79d..d6f0f13360f 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/BuildPropertiesWriter.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/BuildPropertiesWriter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import java.util.Properties; * * @author Andy Wilkinson * @author Stephane Nicoll + * @since 1.0.0 */ public final class BuildPropertiesWriter { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/FileUtils.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/FileUtils.java index 3e7806ccd8b..6c5aab889db 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/FileUtils.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/FileUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import java.security.NoSuchAlgorithmException; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public abstract class FileUtils { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/JarWriter.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/JarWriter.java index 1aa31268fa5..aef2c1b0b07 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/JarWriter.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/JarWriter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,6 +50,7 @@ import org.springframework.lang.UsesJava7; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class JarWriter implements LoaderClassesWriter { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layout.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layout.java index be7cd044596..f7e7e938c4d 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layout.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layout.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ package org.springframework.boot.loader.tools; * custom loader classes. * * @author Phillip Webb + * @since 1.0.0 * @see Layouts * @see RepackagingLayout * @see CustomLoaderLayout diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LayoutFactory.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LayoutFactory.java index aa8d395e2d2..a73110d2424 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LayoutFactory.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LayoutFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import java.io.File; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public interface LayoutFactory { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java index 22b6e977cbe..0775f86ae84 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Layouts.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import java.util.Set; * @author Phillip Webb * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ public final class Layouts { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Libraries.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Libraries.java index 92c0dceb6fb..613fb44c5a4 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Libraries.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Libraries.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import java.io.IOException; * Encapsulates information about libraries that may be packed into the archive. * * @author Phillip Webb + * @since 1.0.0 */ public interface Libraries { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LibraryCallback.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LibraryCallback.java index 6ff8680c653..ba779309daa 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LibraryCallback.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LibraryCallback.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import java.io.IOException; * Callback interface used to iterate {@link Libraries}. * * @author Phillip Webb + * @since 1.0.0 */ public interface LibraryCallback { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LibraryScope.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LibraryScope.java index c60320e9544..88c37138149 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LibraryScope.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/LibraryScope.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ package org.springframework.boot.loader.tools; * A custom {@link Layout} can handle additional scopes as required. * * @author Phillip Webb + * @since 1.0.0 */ public interface LibraryScope { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/MainClassFinder.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/MainClassFinder.java index 6886355a89e..f0d9d7a1c9e 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/MainClassFinder.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/MainClassFinder.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,6 +50,7 @@ import org.springframework.asm.Type; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public abstract class MainClassFinder { diff --git a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java index af727e22958..837052e2e59 100644 --- a/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java +++ b/spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,6 +42,7 @@ import org.springframework.util.StringUtils; * @author Phillip Webb * @author Andy Wilkinson * @author Stephane Nicoll + * @since 1.0.0 */ public class Repackager { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/ExecutableArchiveLauncher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/ExecutableArchiveLauncher.java index 534020bde12..ec0396fb22c 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/ExecutableArchiveLauncher.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/ExecutableArchiveLauncher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.boot.loader.archive.Archive.EntryFilter; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public abstract class ExecutableArchiveLauncher extends Launcher { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java index 5d4b236eb03..d2f12c9e893 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.springframework.boot.loader.archive.Archive; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class JarLauncher extends ExecutableArchiveLauncher { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/LaunchedURLClassLoader.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/LaunchedURLClassLoader.java index 42e9988fd2f..ff253ee6787 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/LaunchedURLClassLoader.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/LaunchedURLClassLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ import org.springframework.lang.UsesJava7; * @author Phillip Webb * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ public class LaunchedURLClassLoader extends URLClassLoader { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java index 0dcd92e0873..421d6aee1df 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/Launcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ import org.springframework.boot.loader.jar.JarFile; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 */ public abstract class Launcher { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/MainMethodRunner.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/MainMethodRunner.java index dc2e94a2790..23edb4e7261 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/MainMethodRunner.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/MainMethodRunner.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import java.lang.reflect.Method; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class MainMethodRunner { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java index 0f4669a3a4b..5479d9f6765 100755 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -70,6 +70,7 @@ import org.springframework.boot.loader.util.SystemPropertyUtils; * @author Dave Syer * @author Janne Valkealahti * @author Andy Wilkinson + * @since 1.0.0 */ public class PropertiesLauncher extends Launcher { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/WarLauncher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/WarLauncher.java index 559b26ec9e9..9ffc616b143 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/WarLauncher.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/WarLauncher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.springframework.boot.loader.archive.Archive; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class WarLauncher extends ExecutableArchiveLauncher { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java index 370591a6784..fea23f92568 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/Archive.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import org.springframework.boot.loader.Launcher; * An archive that can be launched by the {@link Launcher}. * * @author Phillip Webb + * @since 1.0.0 * @see JarFileArchive */ public interface Archive extends Iterable { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/ExplodedArchive.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/ExplodedArchive.java index abdab83432a..20e9d0ab876 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/ExplodedArchive.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/ExplodedArchive.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,6 +39,7 @@ import java.util.jar.Manifest; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class ExplodedArchive implements Archive { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/JarFileArchive.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/JarFileArchive.java index 9cdaa63112c..4d279c2321f 100755 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/JarFileArchive.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/archive/JarFileArchive.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,7 @@ import org.springframework.boot.loader.jar.JarFile; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class JarFileArchive implements Archive { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/ByteArrayRandomAccessData.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/ByteArrayRandomAccessData.java index d2b01bbfa7a..f05b7dd0f6c 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/ByteArrayRandomAccessData.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/ByteArrayRandomAccessData.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import java.io.InputStream; * {@link RandomAccessData} implementation backed by a byte array. * * @author Phillip Webb + * @since 1.0.0 */ public class ByteArrayRandomAccessData implements RandomAccessData { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessData.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessData.java index 6299d335e00..49f43dc286b 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessData.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessData.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import java.io.InputStream; * Implementations must allow concurrent reads in a thread-safe manner. * * @author Phillip Webb + * @since 1.0.0 */ public interface RandomAccessData { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessDataFile.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessDataFile.java index 44b8ae4d1bb..246c15dab7f 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessDataFile.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/data/RandomAccessDataFile.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import java.util.concurrent.Semaphore; * {@link RandomAccessData} implementation backed by a {@link RandomAccessFile}. * * @author Phillip Webb + * @since 1.0.0 */ public class RandomAccessDataFile implements RandomAccessData { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/Handler.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/Handler.java index 7e3144e5a2d..fd115d7a4f7 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/Handler.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/Handler.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,6 +36,7 @@ import java.util.regex.Pattern; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 * @see JarFile#registerUrlProtocolHandler() */ public class Handler extends URLStreamHandler { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java index 9d2e65836b6..58d8712a321 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,6 +45,7 @@ import org.springframework.boot.loader.data.RandomAccessDataFile; * * * @author Phillip Webb + * @since 1.0.0 */ public class JarFile extends java.util.jar.JarFile { diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/util/SystemPropertyUtils.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/util/SystemPropertyUtils.java index 58f4b1e94c3..64c1d8269ba 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/util/SystemPropertyUtils.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/util/SystemPropertyUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,6 +33,7 @@ import java.util.Set; * @author Juergen Hoeller * @author Rob Harrop * @author Dave Syer + * @since 1.0.0 * @see System#getProperty(String) */ public abstract class SystemPropertyUtils { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractDependencyFilterMojo.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractDependencyFilterMojo.java index c2799f25dc6..181c9bdb299 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractDependencyFilterMojo.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractDependencyFilterMojo.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,7 +35,7 @@ import org.apache.maven.shared.artifact.filter.collection.FilterArtifacts; * * @author Stephane Nicoll * @author David Turanski - * @since 1.1 + * @since 1.1.0 */ public abstract class AbstractDependencyFilterMojo extends AbstractMojo { @@ -43,7 +43,7 @@ public abstract class AbstractDependencyFilterMojo extends AbstractMojo { * Collection of artifact definitions to include. The {@link Include} element defines * a {@code groupId} and {@code artifactId} mandatory properties and an optional * {@code classifier} property. - * @since 1.2 + * @since 1.2.0 */ @Parameter private List includes; @@ -52,21 +52,21 @@ public abstract class AbstractDependencyFilterMojo extends AbstractMojo { * Collection of artifact definitions to exclude. The {@link Exclude} element defines * a {@code groupId} and {@code artifactId} mandatory properties and an optional * {@code classifier} property. - * @since 1.1 + * @since 1.1.0 */ @Parameter private List excludes; /** * Comma separated list of groupId names to exclude (exact match). - * @since 1.1 + * @since 1.1.0 */ @Parameter(property = "excludeGroupIds", defaultValue = "") private String excludeGroupIds; /** * Comma separated list of artifact names to exclude (exact match). - * @since 1.1 + * @since 1.1.0 */ @Parameter(property = "excludeArtifactIds", defaultValue = "") private String excludeArtifactIds; diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java index 3feca2e58d9..e65d540a9ba 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/AbstractRunMojo.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,6 +47,7 @@ import org.springframework.boot.loader.tools.MainClassFinder; * @author Stephane Nicoll * @author David Liu * @author Daniel Young + * @since 1.3.0 * @see RunMojo * @see StartMojo */ @@ -58,7 +59,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { /** * The Maven project. - * @since 1.0 + * @since 1.0.0 */ @Parameter(defaultValue = "${project}", readonly = true, required = true) private MavenProject project; @@ -69,7 +70,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { * them to appear twice if {@code ClassLoader.getResources()} is called. Please * consider adding {@code spring-boot-devtools} to your project instead as it provides * this feature and many more. - * @since 1.0 + * @since 1.0.0 */ @Parameter(property = "run.addResources", defaultValue = "false") private boolean addResources = false; @@ -77,14 +78,14 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { /** * Path to agent jar. NOTE: the use of agents means that processes will be started by * forking a new JVM. - * @since 1.0 + * @since 1.0.0 */ @Parameter(property = "run.agent") private File[] agent; /** * Flag to say that the agent requires -noverify. - * @since 1.0 + * @since 1.0.0 */ @Parameter(property = "run.noverify") private Boolean noverify; @@ -93,7 +94,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { * Current working directory to use for the application. If not specified, basedir * will be used. NOTE: the use of working directory means that processes will be * started by forking a new JVM. - * @since 1.5 + * @since 1.5.0 */ @Parameter(property = "run.workingDirectory") private File workingDirectory; @@ -103,7 +104,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { * application. On command line, make sure to wrap multiple values between quotes. * NOTE: the use of JVM arguments means that processes will be started by forking a * new JVM. - * @since 1.1 + * @since 1.1.0 */ @Parameter(property = "run.jvmArguments") private String jvmArguments; @@ -111,7 +112,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { /** * Arguments that should be passed to the application. On command line use commas to * separate multiple arguments. - * @since 1.0 + * @since 1.0.0 */ @Parameter(property = "run.arguments") private String[] arguments; @@ -120,7 +121,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { * The spring profiles to activate. Convenience shortcut of specifying the * 'spring.profiles.active' argument. On command line use commas to separate multiple * profiles. - * @since 1.3 + * @since 1.3.0 */ @Parameter(property = "run.profiles") private String[] profiles; @@ -128,7 +129,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { /** * The name of the main class. If not specified the first compiled class found that * contains a 'main' method will be used. - * @since 1.0 + * @since 1.0.0 */ @Parameter private String mainClass; @@ -136,7 +137,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { /** * Additional folders besides the classes directory that should be added to the * classpath. - * @since 1.0 + * @since 1.0.0 */ @Parameter private String[] folders; @@ -144,7 +145,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { /** * Directory containing the classes and resource files that should be packaged into * the archive. - * @since 1.0 + * @since 1.0.0 */ @Parameter(defaultValue = "${project.build.outputDirectory}", required = true) private File classesDirectory; @@ -153,14 +154,14 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo { * Flag to indicate if the run processes should be forked. {@code fork} is * automatically enabled if an agent, jvmArguments or working directory are specified, * or if devtools is present. - * @since 1.2 + * @since 1.2.0 */ @Parameter(property = "fork") private Boolean fork; /** * Flag to include the test classpath when running. - * @since 1.3 + * @since 1.3.0 */ @Parameter(property = "useTestClasspath", defaultValue = "false") private Boolean useTestClasspath; diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java index 72db857ee9d..aee1182e7cf 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ArtifactsLibraries.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,6 +39,7 @@ import org.springframework.boot.loader.tools.LibraryScope; * @author Phillip Webb * @author Andy Wilkinson * @author Stephane Nicoll + * @since 1.0.0 */ public class ArtifactsLibraries implements Libraries { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/DependencyFilter.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/DependencyFilter.java index f90dda42900..d5b0c8ab2b7 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/DependencyFilter.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/DependencyFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ import org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter; * * @author Stephane Nicoll * @author David Turanski - * @since 1.2 + * @since 1.2.0 */ public abstract class DependencyFilter extends AbstractArtifactsFilter { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Exclude.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Exclude.java index 6c36c5ac273..abacf74a351 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Exclude.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Exclude.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ package org.springframework.boot.maven; * A model for a dependency to exclude. * * @author Stephane Nicoll - * @since 1.1 + * @since 1.1.0 */ public class Exclude extends FilterableDependency { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ExcludeFilter.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ExcludeFilter.java index 86afb00b8c1..3028d445d27 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ExcludeFilter.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ExcludeFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import org.apache.maven.artifact.Artifact; * * @author Stephane Nicoll * @author David Turanski - * @since 1.1 + * @since 1.1.0 */ public class ExcludeFilter extends DependencyFilter { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/FilterableDependency.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/FilterableDependency.java index 0b38daf240f..dbfc8f510d1 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/FilterableDependency.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/FilterableDependency.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ import org.apache.maven.plugins.annotations.Parameter; * * @author Stephane Nicoll * @author David Turanski - * @since 1.2 */ abstract class FilterableDependency { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Include.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Include.java index 7e765bd30cc..2f0249ac91d 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Include.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/Include.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ package org.springframework.boot.maven; * A model for a dependency to include. * * @author David Turanski - * @since 1.2 + * @since 1.2.0 */ public class Include extends FilterableDependency { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/IncludeFilter.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/IncludeFilter.java index d3d40d3b8ed..20d0939b566 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/IncludeFilter.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/IncludeFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter; * {@link Include}. * * @author David Turanski - * @since 1.2 + * @since 1.2.0 */ public class IncludeFilter extends DependencyFilter { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/MatchingGroupIdFilter.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/MatchingGroupIdFilter.java index b383782b7e2..dc62978c581 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/MatchingGroupIdFilter.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/MatchingGroupIdFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import org.apache.maven.shared.artifact.filter.collection.AbstractArtifactFeatur * classes use of {@link String#startsWith} to match on prefix. * * @author Mark Ingram - * @since 1.1 + * @since 1.1.0 */ public class MatchingGroupIdFilter extends AbstractArtifactFeatureFilter { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/PropertiesMergingResourceTransformer.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/PropertiesMergingResourceTransformer.java index c9a26afda01..1af89397830 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/PropertiesMergingResourceTransformer.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/PropertiesMergingResourceTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ import org.apache.maven.plugins.shade.resource.ResourceTransformer; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ public class PropertiesMergingResourceTransformer implements ResourceTransformer { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java index 6dd7e8174e8..a932e55b5d2 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java @@ -54,6 +54,7 @@ import org.springframework.boot.loader.tools.Repackager.MainClassTimeoutWarningL * @author Phillip Webb * @author Dave Syer * @author Stephane Nicoll + * @since 1.0.0 */ @Mojo(name = "repackage", defaultPhase = LifecyclePhase.PACKAGE, requiresProject = true, threadSafe = true, requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME, @@ -62,35 +63,35 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { /** * The Maven project. - * @since 1.0 + * @since 1.0.0 */ @Parameter(defaultValue = "${project}", readonly = true, required = true) private MavenProject project; /** * Maven project helper utils. - * @since 1.0 + * @since 1.0.0 */ @Component private MavenProjectHelper projectHelper; /** * Directory containing the generated archive. - * @since 1.0 + * @since 1.0.0 */ @Parameter(defaultValue = "${project.build.directory}", required = true) private File outputDirectory; /** * Name of the generated archive. - * @since 1.0 + * @since 1.0.0 */ @Parameter(defaultValue = "${project.build.finalName}", required = true) private String finalName; /** * Skip the execution. - * @since 1.2 + * @since 1.2.0 */ @Parameter(property = "skip", defaultValue = "false") private boolean skip; @@ -103,14 +104,14 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { * deploy it alongside to the original one, see the maven documentation for more details. - * @since 1.0 + * @since 1.0.0 */ @Parameter private String classifier; /** * Attach the repackaged archive to be installed and deployed. - * @since 1.4 + * @since 1.4.0 */ @Parameter(defaultValue = "true") private boolean attach = true; @@ -118,7 +119,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { /** * The name of the main class. If not specified the first compiled class found that * contains a 'main' method will be used. - * @since 1.0 + * @since 1.0.0 */ @Parameter private String mainClass; @@ -127,7 +128,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { * The type of archive (which corresponds to how the dependencies are laid out inside * it). Possible values are JAR, WAR, ZIP, DIR, NONE. Defaults to a guess based on the * archive type. - * @since 1.0 + * @since 1.0.0 */ @Parameter private LayoutType layout; @@ -136,7 +137,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { * The layout factory that will be used to create the executable archive if no * explicit layout is set. Alternative layouts implementations can be provided by 3rd * parties. - * @since 1.5 + * @since 1.5.0 */ @Parameter private LayoutFactory layoutFactory; @@ -146,7 +147,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { * Specify each library as a <dependency> with a * <groupId> and a <artifactId> and they will be * unpacked at runtime. - * @since 1.1 + * @since 1.1.0 */ @Parameter private List requiresUnpack; @@ -159,7 +160,7 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { * a jar or war that has been made fully-executable. It is recommended that you only * enable this option if you intend to execute it directly, rather than running it * with java -jar or deploying it to a servlet container. - * @since 1.3 + * @since 1.3.0 */ @Parameter(defaultValue = "false") private boolean executable; @@ -167,28 +168,28 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { /** * The embedded launch script to prepend to the front of the jar if it is fully * executable. If not specified the 'Spring Boot' default script will be used. - * @since 1.3 + * @since 1.3.0 */ @Parameter private File embeddedLaunchScript; /** * Properties that should be expanded in the embedded launch script. - * @since 1.3 + * @since 1.3.0 */ @Parameter private Properties embeddedLaunchScriptProperties; /** * Exclude Spring Boot devtools from the repackaged archive. - * @since 1.3 + * @since 1.3.0 */ @Parameter(defaultValue = "true") private boolean excludeDevtools = true; /** * Include system scoped dependencies. - * @since 1.4 + * @since 1.4.0 */ @Parameter(defaultValue = "false") public boolean includeSystemScope; diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunArguments.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunArguments.java index 631537cada8..99cf54b9b76 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunArguments.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunArguments.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,7 +25,6 @@ import org.codehaus.plexus.util.cli.CommandLineUtils; * Parse and expose arguments specified in a single string. * * @author Stephane Nicoll - * @since 1.1.0 */ class RunArguments { diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunMojo.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunMojo.java index 7d8d1840bc7..2c274c51c62 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunMojo.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunMojo.java @@ -36,6 +36,7 @@ import org.springframework.boot.loader.tools.RunProcess; * @author Phillip Webb * @author Stephane Nicoll * @author Andy Wilkinson + * @since 1.0.0 */ @Mojo(name = "run", requiresProject = true, defaultPhase = LifecyclePhase.VALIDATE, requiresDependencyResolution = ResolutionScope.TEST) diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/StopMojo.java b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/StopMojo.java index 8ce08fe2a86..f6631dba54d 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/StopMojo.java +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/StopMojo.java @@ -52,7 +52,7 @@ public class StopMojo extends AbstractMojo { * Flag to indicate if process to stop was forked. By default, the value is inherited * from the {@link MavenProject}. If it is set, it must match the value used to * {@link StartMojo start} the process. - * @since 1.3 + * @since 1.3.0 */ @Parameter(property = "fork") private Boolean fork; diff --git a/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/compiler/TestCompiler.java b/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/compiler/TestCompiler.java index 44880599d1e..16642e29288 100644 --- a/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/compiler/TestCompiler.java +++ b/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/compiler/TestCompiler.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,6 +37,7 @@ import org.junit.rules.TemporaryFolder; * @author Stephane Nicoll * @author Phillip Webb * @author Andy Wilkinson + * @since 1.5.0 */ public class TestCompiler { diff --git a/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ClassPathExclusions.java b/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ClassPathExclusions.java index e24429460b6..9fdac41a0db 100644 --- a/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ClassPathExclusions.java +++ b/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ClassPathExclusions.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import java.lang.annotation.Target; * from the classpath. * * @author Andy Wilkinson + * @since 1.5.0 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) diff --git a/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ClassPathOverrides.java b/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ClassPathOverrides.java index 84e3e806a90..2deb7cf5cf3 100644 --- a/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ClassPathOverrides.java +++ b/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ClassPathOverrides.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import java.lang.annotation.Target; * on the classpath. * * @author Andy Wilkinson + * @since 1.5.0 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) diff --git a/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ModifiedClassPathRunner.java b/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ModifiedClassPathRunner.java index 205a8fe3ec2..88a39545512 100644 --- a/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ModifiedClassPathRunner.java +++ b/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/junit/runner/classpath/ModifiedClassPathRunner.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -62,6 +62,7 @@ import org.springframework.util.StringUtils; * the thread context class loader while the test is being run. * * @author Andy Wilkinson + * @since 1.5.0 */ public class ModifiedClassPathRunner extends BlockJUnit4ClassRunner { diff --git a/spring-boot/src/main/java/org/springframework/boot/ApplicationPid.java b/spring-boot/src/main/java/org/springframework/boot/ApplicationPid.java index b0a817fa3f9..351d29cba29 100644 --- a/spring-boot/src/main/java/org/springframework/boot/ApplicationPid.java +++ b/spring-boot/src/main/java/org/springframework/boot/ApplicationPid.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import org.springframework.util.ObjectUtils; * An application process ID. * * @author Phillip Webb + * @since 1.0.0 */ public class ApplicationPid { diff --git a/spring-boot/src/main/java/org/springframework/boot/CommandLineRunner.java b/spring-boot/src/main/java/org/springframework/boot/CommandLineRunner.java index ceefc3f3938..217bef3d090 100644 --- a/spring-boot/src/main/java/org/springframework/boot/CommandLineRunner.java +++ b/spring-boot/src/main/java/org/springframework/boot/CommandLineRunner.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.core.annotation.Order; * consider using {@link ApplicationRunner}. * * @author Dave Syer + * @since 1.0.0 * @see ApplicationRunner */ public interface CommandLineRunner { diff --git a/spring-boot/src/main/java/org/springframework/boot/ExitCodeGenerator.java b/spring-boot/src/main/java/org/springframework/boot/ExitCodeGenerator.java index 24a98a0001e..bd25bbfd41f 100644 --- a/spring-boot/src/main/java/org/springframework/boot/ExitCodeGenerator.java +++ b/spring-boot/src/main/java/org/springframework/boot/ExitCodeGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ package org.springframework.boot; * {@link SpringApplication}. Can be used on exceptions as well as directly on beans. * * @author Dave Syer + * @since 1.0.0 * @see SpringApplication#exit(org.springframework.context.ApplicationContext, * ExitCodeGenerator...) */ diff --git a/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java b/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java index 9629564b952..ed6cd115148 100644 --- a/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java +++ b/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -141,6 +141,7 @@ import org.springframework.web.context.support.StandardServletEnvironment; * @author Craig Burke * @author Michael Simons * @author Ethan Rubinson + * @since 1.0.0 * @see #run(Object, String[]) * @see #run(Object[], String[]) * @see #SpringApplication(Object...) diff --git a/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListener.java b/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListener.java index 0d70cb63dbb..0666beacfac 100644 --- a/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 */ public interface SpringApplicationRunListener { diff --git a/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiElement.java b/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiElement.java index e03cab81acc..f366d6b7951 100644 --- a/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiElement.java +++ b/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiElement.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.ansi; * An ANSI encodable element. * * @author Phillip Webb + * @since 1.0.0 */ public interface AnsiElement { diff --git a/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiOutput.java b/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiOutput.java index 05820b6c2f4..777e34874dc 100644 --- a/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiOutput.java +++ b/spring-boot/src/main/java/org/springframework/boot/ansi/AnsiOutput.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.springframework.util.Assert; * supports ANSI. * * @author Phillip Webb + * @since 1.0.0 */ public abstract class AnsiOutput { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/DefaultPropertyNamePatternsMatcher.java b/spring-boot/src/main/java/org/springframework/boot/bind/DefaultPropertyNamePatternsMatcher.java index 959c1e03d7d..3085b97658a 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/DefaultPropertyNamePatternsMatcher.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/DefaultPropertyNamePatternsMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,6 @@ import java.util.Set; * This implementation is optimized for frequent calls. * * @author Phillip Webb - * @since 1.2.0 */ class DefaultPropertyNamePatternsMatcher implements PropertyNamePatternsMatcher { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/InetAddressEditor.java b/spring-boot/src/main/java/org/springframework/boot/bind/InetAddressEditor.java index e93c18d3966..3f971fd4e46 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/InetAddressEditor.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/InetAddressEditor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import java.net.UnknownHostException; * {@link PropertyEditor} for {@link InetAddress} objects. * * @author Dave Syer + * @since 1.0.0 */ public class InetAddressEditor extends PropertyEditorSupport { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/PatternPropertyNamePatternsMatcher.java b/spring-boot/src/main/java/org/springframework/boot/bind/PatternPropertyNamePatternsMatcher.java index 821ee4ccc09..6ec3c4ab16b 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/PatternPropertyNamePatternsMatcher.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/PatternPropertyNamePatternsMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,7 +25,6 @@ import org.springframework.util.PatternMatchUtils; * {@link PatternMatchUtils#simpleMatch(String[], String)}. * * @author Phillip Webb - * @since 1.2.0 */ class PatternPropertyNamePatternsMatcher implements PropertyNamePatternsMatcher { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java b/spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java index 948012433bf..14f51f2e3b8 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,6 +53,7 @@ import org.springframework.validation.Validator; * * @param the target type * @author Dave Syer + * @since 1.0.0 */ public class PropertiesConfigurationFactory implements FactoryBean, ApplicationContextAware, MessageSourceAware, InitializingBean { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/PropertyNamePatternsMatcher.java b/spring-boot/src/main/java/org/springframework/boot/bind/PropertyNamePatternsMatcher.java index 55ec187250a..6462543641b 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/PropertyNamePatternsMatcher.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/PropertyNamePatternsMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,7 +20,6 @@ package org.springframework.boot.bind; * Strategy interface used to check if a property name matches specific criteria. * * @author Phillip Webb - * @since 1.2.0 */ interface PropertyNamePatternsMatcher { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/PropertySourceUtils.java b/spring-boot/src/main/java/org/springframework/boot/bind/PropertySourceUtils.java index c50d7af3402..7245e2bba7b 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/PropertySourceUtils.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/PropertySourceUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import org.springframework.core.env.PropertySources; * Convenience class for manipulating PropertySources. * * @author Dave Syer + * @since 1.0.0 * @see PropertySource * @see PropertySources */ diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/PropertySourcesPropertyValues.java b/spring-boot/src/main/java/org/springframework/boot/bind/PropertySourcesPropertyValues.java index 4d982ea5458..ce7bf8ee64c 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/PropertySourcesPropertyValues.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/PropertySourcesPropertyValues.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,6 +41,7 @@ import org.springframework.validation.DataBinder; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class PropertySourcesPropertyValues implements PropertyValues { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedConversionService.java b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedConversionService.java index 6f927babbef..9d795cfe582 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedConversionService.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedConversionService.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,7 +35,6 @@ import org.springframework.util.Assert; * * @author Phillip Webb * @author Stephane Nicoll - * @since 1.1.0 */ class RelaxedConversionService implements ConversionService { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedDataBinder.java b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedDataBinder.java index dee0aa4a299..1b2540aa4ee 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedDataBinder.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedDataBinder.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -56,6 +56,7 @@ import org.springframework.validation.DataBinder; * @author Phillip Webb * @author Stephane Nicoll * @author Andy Wilkinson + * @since 1.0.0 * @see RelaxedNames */ public class RelaxedDataBinder extends DataBinder { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedNames.java b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedNames.java index bc5dedd1b62..6337a7bd287 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedNames.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedNames.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.util.StringUtils; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 * @see RelaxedDataBinder * @see RelaxedPropertyResolver */ diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedPropertyResolver.java b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedPropertyResolver.java index db295b59439..b399831aa9a 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedPropertyResolver.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/RelaxedPropertyResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import org.springframework.util.Assert; * {@link PropertyResolver} that attempts to resolve values using {@link RelaxedNames}. * * @author Phillip Webb + * @since 1.0.0 * @see RelaxedNames */ public class RelaxedPropertyResolver implements PropertyResolver { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/YamlConfigurationFactory.java b/spring-boot/src/main/java/org/springframework/boot/bind/YamlConfigurationFactory.java index e10accf8b06..325c1043e87 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/YamlConfigurationFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/YamlConfigurationFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,6 +48,7 @@ import org.springframework.validation.Validator; * @param the configuration type * @author Luke Taylor * @author Dave Syer + * @since 1.0.0 */ public class YamlConfigurationFactory implements FactoryBean, MessageSourceAware, InitializingBean { diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/YamlJavaBeanPropertyConstructor.java b/spring-boot/src/main/java/org/springframework/boot/bind/YamlJavaBeanPropertyConstructor.java index 8ad468e9b2e..70166b7972e 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/YamlJavaBeanPropertyConstructor.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/YamlJavaBeanPropertyConstructor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.yaml.snakeyaml.nodes.NodeId; * keys to JavaBean property names. * * @author Luke Taylor + * @since 1.0.0 */ public class YamlJavaBeanPropertyConstructor extends Constructor { diff --git a/spring-boot/src/main/java/org/springframework/boot/builder/ParentContextApplicationContextInitializer.java b/spring-boot/src/main/java/org/springframework/boot/builder/ParentContextApplicationContextInitializer.java index a9ecd3da055..e5e09647391 100644 --- a/spring-boot/src/main/java/org/springframework/boot/builder/ParentContextApplicationContextInitializer.java +++ b/spring-boot/src/main/java/org/springframework/boot/builder/ParentContextApplicationContextInitializer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.core.Ordered; * listeners that the context is available and has a parent. * * @author Dave Syer + * @since 1.0.0 */ public class ParentContextApplicationContextInitializer implements ApplicationContextInitializer, Ordered { diff --git a/spring-boot/src/main/java/org/springframework/boot/builder/ParentContextCloserApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/builder/ParentContextCloserApplicationListener.java index 3f6c37b163b..46b28c7d13b 100644 --- a/spring-boot/src/main/java/org/springframework/boot/builder/ParentContextCloserApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/builder/ParentContextCloserApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ import org.springframework.util.ObjectUtils; * * @author Dave Syer * @author Eric Bottard + * @since 1.0.0 */ public class ParentContextCloserApplicationListener implements ApplicationListener, ApplicationContextAware, Ordered { diff --git a/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java b/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java index 10a50626123..b952b541580 100644 --- a/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java +++ b/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -60,6 +60,7 @@ import org.springframework.core.io.ResourceLoader; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.0.0 */ public class SpringApplicationBuilder { diff --git a/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java b/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java index 69ae204d9f3..91694632117 100644 --- a/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java +++ b/spring-boot/src/main/java/org/springframework/boot/cloud/CloudFoundryVcapEnvironmentPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -88,6 +88,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Andy Wilkinson + * @since 1.3.0 */ public class CloudFoundryVcapEnvironmentPostProcessor implements EnvironmentPostProcessor, Ordered { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/ContextIdApplicationContextInitializer.java b/spring-boot/src/main/java/org/springframework/boot/context/ContextIdApplicationContextInitializer.java index 802c1bd5187..9f60248943c 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/ContextIdApplicationContextInitializer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/ContextIdApplicationContextInitializer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,6 +45,7 @@ import org.springframework.util.StringUtils; * * * @author Dave Syer + * @since 1.0.0 */ public class ContextIdApplicationContextInitializer implements ApplicationContextInitializer, Ordered { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/FileEncodingApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/context/FileEncodingApplicationListener.java index 8c916eecf69..30234efcadc 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/FileEncodingApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/FileEncodingApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,6 +42,7 @@ import org.springframework.core.Ordered; * character-encoding value (e.g. "en_GB.UTF-8"). * * @author Dave Syer + * @since 1.0.0 */ public class FileEncodingApplicationListener implements ApplicationListener, Ordered { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java index 8214d4d2ceb..ad2166567c3 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -100,6 +100,7 @@ import org.springframework.validation.BindException; * @author Stephane Nicoll * @author Andy Wilkinson * @author Eddú Meléndez + * @since 1.0.0 */ public class ConfigFileApplicationListener implements EnvironmentPostProcessor, SmartApplicationListener, Ordered { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/config/DelegatingApplicationContextInitializer.java b/spring-boot/src/main/java/org/springframework/boot/context/config/DelegatingApplicationContextInitializer.java index 8d33c0897eb..d27716e2f30 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/config/DelegatingApplicationContextInitializer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/config/DelegatingApplicationContextInitializer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class DelegatingApplicationContextInitializer implements ApplicationContextInitializer, Ordered { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/config/DelegatingApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/context/config/DelegatingApplicationListener.java index 0c763208cd2..5677d1faf75 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/config/DelegatingApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/config/DelegatingApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,6 +39,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class DelegatingApplicationListener implements ApplicationListener, Ordered { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/config/RandomValuePropertySource.java b/spring-boot/src/main/java/org/springframework/boot/context/config/RandomValuePropertySource.java index 2358aaaa940..9ced985176c 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/config/RandomValuePropertySource.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/config/RandomValuePropertySource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,6 +49,7 @@ import org.springframework.util.StringUtils; * * @author Dave Syer * @author Matt Benson + * @since 1.0.0 */ public class RandomValuePropertySource extends PropertySource { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractConfigurableEmbeddedServletContainer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractConfigurableEmbeddedServletContainer.java index f5afe03b306..1000fc8e6e4 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractConfigurableEmbeddedServletContainer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractConfigurableEmbeddedServletContainer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,6 +44,7 @@ import org.springframework.util.ClassUtils; * @author Ivan Sopov * @author Eddú Meléndez * @author Brian Clozel + * @since 1.0.0 * @see AbstractEmbeddedServletContainerFactory */ public abstract class AbstractConfigurableEmbeddedServletContainer implements ConfigurableEmbeddedServletContainer { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractEmbeddedServletContainerFactory.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractEmbeddedServletContainerFactory.java index a8690b0d7f8..262315ce3ac 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractEmbeddedServletContainerFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/AbstractEmbeddedServletContainerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,6 +43,7 @@ import org.springframework.util.Assert; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 */ public abstract class AbstractEmbeddedServletContainerFactory extends AbstractConfigurableEmbeddedServletContainer implements EmbeddedServletContainerFactory { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/AnnotationConfigEmbeddedWebApplicationContext.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/AnnotationConfigEmbeddedWebApplicationContext.java index 8d214a4fd88..fa0ea00b809 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/AnnotationConfigEmbeddedWebApplicationContext.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/AnnotationConfigEmbeddedWebApplicationContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,6 +41,7 @@ import org.springframework.web.context.support.AnnotationConfigWebApplicationCon * to deliberately override certain bean definitions via an extra Configuration class. * * @author Phillip Webb + * @since 1.0.0 * @see #register(Class...) * @see #scan(String...) * @see EmbeddedWebApplicationContext diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ConfigurableEmbeddedServletContainer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ConfigurableEmbeddedServletContainer.java index 09f38952b5b..530e98375fa 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/ConfigurableEmbeddedServletContainer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/ConfigurableEmbeddedServletContainer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ import org.springframework.boot.web.servlet.ServletContextInitializer; * @author Stephane Nicoll * @author Eddú Meléndez * @author Brian Clozel + * @since 1.0.0 * @see EmbeddedServletContainerFactory * @see EmbeddedServletContainerCustomizer */ diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainer.java index ce053148b4b..bc18c1c7a00 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ package org.springframework.boot.context.embedded; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 * @see EmbeddedServletContainerFactory */ public interface EmbeddedServletContainer { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerCustomizer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerCustomizer.java index c01847adf5f..32a11ccf092 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerCustomizer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerCustomizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.beans.factory.config.BeanPostProcessor; * than injecting them with {@code @Autowired}. * * @author Dave Syer + * @since 1.0.0 * @see EmbeddedServletContainerCustomizerBeanPostProcessor */ public interface EmbeddedServletContainerCustomizer { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerCustomizerBeanPostProcessor.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerCustomizerBeanPostProcessor.java index aa642430b28..28b5b5a88ab 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerCustomizerBeanPostProcessor.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerCustomizerBeanPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,6 +36,7 @@ import org.springframework.util.Assert; * @author Dave Syer * @author Phillip Webb * @author Stephane Nicoll + * @since 1.0.0 */ public class EmbeddedServletContainerCustomizerBeanPostProcessor implements BeanPostProcessor, BeanFactoryAware { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerException.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerException.java index edeeba22570..94324404894 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerException.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerException.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.context.embedded; * Exceptions thrown by an embedded servlet container. * * @author Phillip Webb + * @since 1.0.0 */ @SuppressWarnings("serial") public class EmbeddedServletContainerException extends RuntimeException { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerFactory.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerFactory.java index 657782d17e4..75ba15d9197 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import org.apache.catalina.core.ApplicationContext; import org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory; import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory; +import org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainerFactory; import org.springframework.boot.web.servlet.ServletContextInitializer; /** @@ -28,10 +29,12 @@ import org.springframework.boot.web.servlet.ServletContextInitializer; * {@link AbstractEmbeddedServletContainerFactory} when possible. * * @author Phillip Webb + * @since 1.0.0 * @see EmbeddedServletContainer * @see AbstractEmbeddedServletContainerFactory * @see JettyEmbeddedServletContainerFactory * @see TomcatEmbeddedServletContainerFactory + * @see UndertowEmbeddedServletContainerFactory */ public interface EmbeddedServletContainerFactory { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerInitializedEvent.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerInitializedEvent.java index 6b2f592841a..5d2c48c9566 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerInitializedEvent.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedServletContainerInitializedEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.springframework.context.ApplicationEvent; * the server and stop and start it if they want to. * * @author Dave Syer + * @since 1.0.0 */ @SuppressWarnings("serial") public class EmbeddedServletContainerInitializedEvent extends ApplicationEvent { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedWebApplicationContext.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedWebApplicationContext.java index 825560e0158..6b39f37bdd6 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedWebApplicationContext.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/EmbeddedWebApplicationContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,6 +83,7 @@ import org.springframework.web.context.support.WebApplicationContextUtils; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 * @see AnnotationConfigEmbeddedWebApplicationContext * @see XmlEmbeddedWebApplicationContext * @see EmbeddedServletContainerFactory diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/MimeMappings.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/MimeMappings.java index 94f4c6e8d40..d7e9a405445 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/MimeMappings.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/MimeMappings.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.util.Assert; * to the {@literal <mime-mapping>} element traditionally found in web.xml. * * @author Phillip Webb + * @since 1.0.0 */ public final class MimeMappings implements Iterable { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/WebApplicationContextServletContextAwareProcessor.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/WebApplicationContextServletContextAwareProcessor.java index 00cc9f1f450..e35b217237f 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/WebApplicationContextServletContextAwareProcessor.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/WebApplicationContextServletContextAwareProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.web.context.support.ServletContextAwareProcessor; * initialized. * * @author Phillip Webb + * @since 1.0.0 */ public class WebApplicationContextServletContextAwareProcessor extends ServletContextAwareProcessor { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/XmlEmbeddedWebApplicationContext.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/XmlEmbeddedWebApplicationContext.java index ae4aa192a84..d712b72b91b 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/XmlEmbeddedWebApplicationContext.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/XmlEmbeddedWebApplicationContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import org.springframework.web.context.support.XmlWebApplicationContext; * bean definitions via an extra XML file. * * @author Phillip Webb + * @since 1.0.0 * @see #setNamespace * @see #setConfigLocations * @see EmbeddedWebApplicationContext diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainer.java index f78d3e8caf1..66729767505 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,6 +46,7 @@ import org.springframework.util.StringUtils; * @author Dave Syer * @author David Liu * @author Eddú Meléndez + * @since 1.0.0 * @see JettyEmbeddedServletContainerFactory */ public class JettyEmbeddedServletContainer implements EmbeddedServletContainer { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java index 9c1c0f175de..e2ef6cf882b 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyEmbeddedServletContainerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -102,6 +102,7 @@ import org.springframework.util.StringUtils; * @author Venil Noronha * @author Henri Kerola * @author Henrich Krämer + * @since 1.0.0 * @see #setPort(int) * @see #setConfigurations(Collection) * @see JettyEmbeddedServletContainer diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyServerCustomizer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyServerCustomizer.java index b8a552ddba0..5d311e89d10 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyServerCustomizer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/JettyServerCustomizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.eclipse.jetty.server.Server; * Callback interface that can be used to customize a Jetty {@link Server}. * * @author Dave Syer + * @since 1.0.0 * @see JettyEmbeddedServletContainerFactory */ public interface JettyServerCustomizer { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/ServletContextInitializerConfiguration.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/ServletContextInitializerConfiguration.java index 582dee4da8c..809ec64efc4 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/ServletContextInitializerConfiguration.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/jetty/ServletContextInitializerConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.util.Assert; * * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class ServletContextInitializerConfiguration extends AbstractConfiguration { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatConnectorCustomizer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatConnectorCustomizer.java index e423311929e..5b2ca8db168 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatConnectorCustomizer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatConnectorCustomizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.apache.catalina.connector.Connector; * Callback interface that can be used to customize a Tomcat {@link Connector}. * * @author Dave Syer + * @since 1.0.0 * @see TomcatEmbeddedServletContainerFactory */ public interface TomcatConnectorCustomizer { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatContextCustomizer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatContextCustomizer.java index 55a8f4d75bd..89fcbd236d8 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatContextCustomizer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatContextCustomizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.apache.catalina.Context; * Callback interface that can be used to customize a Tomcat {@link Context}. * * @author Dave Syer + * @since 1.0.0 * @see TomcatEmbeddedServletContainerFactory */ public interface TomcatContextCustomizer { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainer.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainer.java index 6eb70300043..60f20d4b6d7 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainer.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -48,6 +48,7 @@ import org.springframework.util.Assert; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 * @see TomcatEmbeddedServletContainerFactory */ public class TomcatEmbeddedServletContainer implements EmbeddedServletContainer { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java index 166f73a7a1d..85bac30539e 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -92,6 +92,7 @@ import org.springframework.util.StringUtils; * @author Andy Wilkinson * @author Eddú Meléndez * @author Christoffer Sawicki + * @since 1.0.0 * @see #setPort(int) * @see #setContextLifecycleListeners(Collection) * @see TomcatEmbeddedServletContainer diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedWebappClassLoader.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedWebappClassLoader.java index 9b23a6fbf9e..29de0301133 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedWebappClassLoader.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedWebappClassLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.apache.commons.logging.LogFactory; * executable archives). * * @author Phillip Webb + * @since 1.0.0 */ public class TomcatEmbeddedWebappClassLoader extends WebappClassLoader { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatStarter.java b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatStarter.java index b0d1b299982..424ef242fd8 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatStarter.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/embedded/tomcat/TomcatStarter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,7 +33,6 @@ import org.springframework.boot.web.servlet.ServletContextInitializer; * * @author Phillip Webb * @author Andy Wilkinson - * @since 1.2.1 */ class TomcatStarter implements ServletContainerInitializer { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java b/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java index 9f1cfe15090..167dfa64240 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationEnvironmentPreparedEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import org.springframework.core.env.Environment; * {@link Environment} is first available for inspection and modification. * * @author Dave Syer + * @since 1.0.0 */ @SuppressWarnings("serial") public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationFailedEvent.java b/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationFailedEvent.java index 2530697b8f4..b19d10848ec 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationFailedEvent.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationFailedEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import org.springframework.context.ConfigurableApplicationContext; * Event published by a {@link SpringApplication} when it fails to start. * * @author Dave Syer + * @since 1.0.0 * @see ApplicationReadyEvent */ @SuppressWarnings("serial") diff --git a/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationPreparedEvent.java b/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationPreparedEvent.java index e7e5a3b981e..930c3ac790b 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationPreparedEvent.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationPreparedEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import org.springframework.core.env.Environment; * will be loaded and the {@link Environment} is ready for use at this stage. * * @author Dave Syer + * @since 1.0.0 */ @SuppressWarnings("serial") public class ApplicationPreparedEvent extends SpringApplicationEvent { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationStartedEvent.java b/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationStartedEvent.java index 830b32f634a..1855bad4873 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationStartedEvent.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/event/ApplicationStartedEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.core.env.Environment; * state too much at this early stage since it might be modified later in the lifecycle. * * @author Dave Syer + * @since 1.0.0 * @deprecated as of 1.5 in favor of {@link ApplicationStartingEvent} */ @Deprecated diff --git a/spring-boot/src/main/java/org/springframework/boot/context/event/EventPublishingRunListener.java b/spring-boot/src/main/java/org/springframework/boot/context/event/EventPublishingRunListener.java index 9f838284977..17095498063 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/event/EventPublishingRunListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/event/EventPublishingRunListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,6 +39,7 @@ import org.springframework.util.ErrorHandler; * * @author Phillip Webb * @author Stephane Nicoll + * @since 1.0.0 */ public class EventPublishingRunListener implements SpringApplicationRunListener, Ordered { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/event/SpringApplicationEvent.java b/spring-boot/src/main/java/org/springframework/boot/context/event/SpringApplicationEvent.java index 69ac4e41a3a..3cdbeb026e6 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/event/SpringApplicationEvent.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/event/SpringApplicationEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import org.springframework.context.ApplicationEvent; * Base class for {@link ApplicationEvent} related to a {@link SpringApplication}. * * @author Phillip Webb + * @since 1.0.0 */ @SuppressWarnings("serial") public abstract class SpringApplicationEvent extends ApplicationEvent { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationProperties.java b/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationProperties.java index d022bc4cc82..8fa717bf9a8 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationProperties.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ import org.springframework.validation.annotation.Validated; * values are externalized. * * @author Dave Syer + * @since 1.0.0 * @see ConfigurationPropertiesBindingPostProcessor * @see EnableConfigurationProperties */ diff --git a/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBinding.java b/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBinding.java index 87e7ed873d3..10c2384e10f 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBinding.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBinding.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.beans.factory.annotation.Qualifier; * {@link ConfigurationProperties} (e.g. Converters). * * @author Dave Syer + * @since 1.3.0 */ @Qualifier @Target({ ElementType.TYPE, ElementType.METHOD }) diff --git a/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor.java b/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor.java index 78e0b3d7f9b..7b3be267bca 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,6 +73,7 @@ import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean; * @author Phillip Webb * @author Christian Dupuis * @author Stephane Nicoll + * @since 1.0.0 */ public class ConfigurationPropertiesBindingPostProcessor implements BeanPostProcessor, BeanFactoryAware, EnvironmentAware, ApplicationContextAware, InitializingBean, diff --git a/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessorRegistrar.java b/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessorRegistrar.java index a6200f2dc25..b1aaf7a12eb 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessorRegistrar.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessorRegistrar.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import org.springframework.core.type.AnnotationMetadata; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class ConfigurationPropertiesBindingPostProcessorRegistrar implements ImportBeanDefinitionRegistrar { diff --git a/spring-boot/src/main/java/org/springframework/boot/context/properties/EnableConfigurationProperties.java b/spring-boot/src/main/java/org/springframework/boot/context/properties/EnableConfigurationProperties.java index e23c5438db6..79e176c2a52 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/properties/EnableConfigurationProperties.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/properties/EnableConfigurationProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ import org.springframework.context.annotation.Import; * directly on this annotation. * * @author Dave Syer + * @since 1.0.0 */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) diff --git a/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/BeanNotOfRequiredTypeFailureAnalyzer.java b/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/BeanNotOfRequiredTypeFailureAnalyzer.java index 4b84e0ea443..5829db68db9 100644 --- a/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/BeanNotOfRequiredTypeFailureAnalyzer.java +++ b/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/BeanNotOfRequiredTypeFailureAnalyzer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.boot.diagnostics.FailureAnalysis; * {@link BeanNotOfRequiredTypeException}. * * @author Andy Wilkinson + * @since 1.4.0 */ public class BeanNotOfRequiredTypeFailureAnalyzer extends AbstractFailureAnalyzer { diff --git a/spring-boot/src/main/java/org/springframework/boot/env/EnumerableCompositePropertySource.java b/spring-boot/src/main/java/org/springframework/boot/env/EnumerableCompositePropertySource.java index 4c13459a751..cf26113bc9c 100644 --- a/spring-boot/src/main/java/org/springframework/boot/env/EnumerableCompositePropertySource.java +++ b/spring-boot/src/main/java/org/springframework/boot/env/EnumerableCompositePropertySource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.core.env.PropertySource; * hence resolved with lowest priority). * * @author Dave Syer + * @since 1.0.0 * @see PropertySource * @see EnumerablePropertySource */ diff --git a/spring-boot/src/main/java/org/springframework/boot/env/PropertiesPropertySourceLoader.java b/spring-boot/src/main/java/org/springframework/boot/env/PropertiesPropertySourceLoader.java index a07b8e3db46..aa7fa335b37 100644 --- a/spring-boot/src/main/java/org/springframework/boot/env/PropertiesPropertySourceLoader.java +++ b/spring-boot/src/main/java/org/springframework/boot/env/PropertiesPropertySourceLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.springframework.core.io.support.PropertiesLoaderUtils; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public class PropertiesPropertySourceLoader implements PropertySourceLoader { diff --git a/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceLoader.java b/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceLoader.java index 73f8106f95f..fcd8e7e66f0 100644 --- a/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceLoader.java +++ b/spring-boot/src/main/java/org/springframework/boot/env/PropertySourceLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader; * * @author Dave Syer * @author Phillip Webb + * @since 1.0.0 */ public interface PropertySourceLoader { diff --git a/spring-boot/src/main/java/org/springframework/boot/env/PropertySourcesLoader.java b/spring-boot/src/main/java/org/springframework/boot/env/PropertySourcesLoader.java index b4b0d57e920..dc3d49f70e4 100644 --- a/spring-boot/src/main/java/org/springframework/boot/env/PropertySourcesLoader.java +++ b/spring-boot/src/main/java/org/springframework/boot/env/PropertySourcesLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ import org.springframework.util.StringUtils; * {@link PropertySourceLoader}s. * * @author Phillip Webb + * @since 1.0.0 */ public class PropertySourcesLoader { diff --git a/spring-boot/src/main/java/org/springframework/boot/env/YamlPropertySourceLoader.java b/spring-boot/src/main/java/org/springframework/boot/env/YamlPropertySourceLoader.java index 1367cad5a13..190f6551a5e 100755 --- a/spring-boot/src/main/java/org/springframework/boot/env/YamlPropertySourceLoader.java +++ b/spring-boot/src/main/java/org/springframework/boot/env/YamlPropertySourceLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,6 +42,7 @@ import org.springframework.util.ClassUtils; * @author Dave Syer * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class YamlPropertySourceLoader implements PropertySourceLoader { diff --git a/spring-boot/src/main/java/org/springframework/boot/json/JacksonJsonParser.java b/spring-boot/src/main/java/org/springframework/boot/json/JacksonJsonParser.java index 3d39981b664..720dbd210e9 100644 --- a/spring-boot/src/main/java/org/springframework/boot/json/JacksonJsonParser.java +++ b/spring-boot/src/main/java/org/springframework/boot/json/JacksonJsonParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; * Thin wrapper to adapt Jackson 2 {@link ObjectMapper} to {@link JsonParser}. * * @author Dave Syer + * @since 1.0.0 * @see JsonParserFactory */ public class JacksonJsonParser implements JsonParser { diff --git a/spring-boot/src/main/java/org/springframework/boot/json/JsonParser.java b/spring-boot/src/main/java/org/springframework/boot/json/JsonParser.java index 0e54f9ce7b5..cf1ce2a06ef 100644 --- a/spring-boot/src/main/java/org/springframework/boot/json/JsonParser.java +++ b/spring-boot/src/main/java/org/springframework/boot/json/JsonParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import java.util.Map; * Parser that can read JSON formatted strings into {@link Map}s or {@link List}s. * * @author Dave Syer + * @since 1.0.0 * @see JsonParserFactory * @see BasicJsonParser * @see JacksonJsonParser diff --git a/spring-boot/src/main/java/org/springframework/boot/json/JsonParserFactory.java b/spring-boot/src/main/java/org/springframework/boot/json/JsonParserFactory.java index c802eba3acf..67a267d776a 100644 --- a/spring-boot/src/main/java/org/springframework/boot/json/JsonParserFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/json/JsonParserFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import org.springframework.util.ClassUtils; * Factory to create a {@link JsonParser}. * * @author Dave Syer + * @since 1.0.0 * @see JacksonJsonParser * @see GsonJsonParser * @see YamlJsonParser diff --git a/spring-boot/src/main/java/org/springframework/boot/json/YamlJsonParser.java b/spring-boot/src/main/java/org/springframework/boot/json/YamlJsonParser.java index 72a0b286726..31941012267 100644 --- a/spring-boot/src/main/java/org/springframework/boot/json/YamlJsonParser.java +++ b/spring-boot/src/main/java/org/springframework/boot/json/YamlJsonParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import org.yaml.snakeyaml.Yaml; * * @author Dave Syer * @author Jean de Klerk + * @since 1.0.0 * @see JsonParserFactory */ public class YamlJsonParser implements JsonParser { diff --git a/spring-boot/src/main/java/org/springframework/boot/liquibase/LiquibaseServiceLocatorApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/liquibase/LiquibaseServiceLocatorApplicationListener.java index 030acea97f5..dca2b36de7a 100644 --- a/spring-boot/src/main/java/org/springframework/boot/liquibase/LiquibaseServiceLocatorApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/liquibase/LiquibaseServiceLocatorApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ import org.springframework.util.ClassUtils; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 */ public class LiquibaseServiceLocatorApplicationListener implements ApplicationListener { diff --git a/spring-boot/src/main/java/org/springframework/boot/liquibase/SpringPackageScanClassResolver.java b/spring-boot/src/main/java/org/springframework/boot/liquibase/SpringPackageScanClassResolver.java index db714c42234..fe8490ea30d 100644 --- a/spring-boot/src/main/java/org/springframework/boot/liquibase/SpringPackageScanClassResolver.java +++ b/spring-boot/src/main/java/org/springframework/boot/liquibase/SpringPackageScanClassResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,6 +36,7 @@ import org.springframework.util.ClassUtils; * executable JARs. * * @author Phillip Webb + * @since 1.0.0 */ public class SpringPackageScanClassResolver extends DefaultPackageScanClassResolver { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/AbstractLoggingSystem.java b/spring-boot/src/main/java/org/springframework/boot/logging/AbstractLoggingSystem.java index f553c91e1b0..2c0794c7a0e 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/AbstractLoggingSystem.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/AbstractLoggingSystem.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,6 +33,7 @@ import org.springframework.util.SystemPropertyUtils; * * @author Phillip Webb * @author Dave Syer + * @since 1.0.0 */ public abstract class AbstractLoggingSystem extends LoggingSystem { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/ClasspathLoggingApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/logging/ClasspathLoggingApplicationListener.java index 0942271d621..a18f46f737e 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/ClasspathLoggingApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/ClasspathLoggingApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,6 +36,7 @@ import org.springframework.core.ResolvableType; * context class loader (TCCL) at {@code DEBUG} level. * * @author Andy Wilkinson + * @since 1.0.0 */ public final class ClasspathLoggingApplicationListener implements GenericApplicationListener { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/LogLevel.java b/spring-boot/src/main/java/org/springframework/boot/logging/LogLevel.java index 7acec092a76..bfbda6703a9 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/LogLevel.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/LogLevel.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ package org.springframework.boot.logging; * Logging levels supported by a {@link LoggingSystem}. * * @author Phillip Webb + * @since 1.0.0 */ public enum LogLevel { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java index 961910597b5..f07a9f2e2bd 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,6 +73,7 @@ import org.springframework.util.StringUtils; * @author Dave Syer * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 * @see LoggingSystem#get(ClassLoader) */ public class LoggingApplicationListener implements GenericApplicationListener { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystem.java b/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystem.java index dd50f1494b8..e16aba3cc5d 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystem.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystem.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,6 +33,7 @@ import org.springframework.util.StringUtils; * @author Dave Syer * @author Andy Wilkinson * @author Ben Hale + * @since 1.0.0 */ public abstract class LoggingSystem { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/java/JavaLoggingSystem.java b/spring-boot/src/main/java/org/springframework/boot/logging/java/JavaLoggingSystem.java index e6771389e19..930b4c28761 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/java/JavaLoggingSystem.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/java/JavaLoggingSystem.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,6 +45,7 @@ import org.springframework.util.StringUtils; * @author Dave Syer * @author Andy Wilkinson * @author Ben Hale + * @since 1.0.0 */ public class JavaLoggingSystem extends AbstractLoggingSystem { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/java/SimpleFormatter.java b/spring-boot/src/main/java/org/springframework/boot/logging/java/SimpleFormatter.java index 898351b87a3..adc323afe30 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/java/SimpleFormatter.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/java/SimpleFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import java.util.logging.LogRecord; * Simple 'Java Logging' {@link Formatter}. * * @author Phillip Webb + * @since 1.0.0 */ public class SimpleFormatter extends Formatter { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/logback/ColorConverter.java b/spring-boot/src/main/java/org/springframework/boot/logging/logback/ColorConverter.java index 66d686aba5d..d8d6dba2261 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/logback/ColorConverter.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/logback/ColorConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ import org.springframework.boot.ansi.AnsiStyle; * be picked based on the logging level. * * @author Phillip Webb + * @since 1.0.0 */ public class ColorConverter extends CompositeConverter { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/logback/DefaultLogbackConfiguration.java b/spring-boot/src/main/java/org/springframework/boot/logging/logback/DefaultLogbackConfiguration.java index 81e2d085e32..f6f6102311b 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/logback/DefaultLogbackConfiguration.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/logback/DefaultLogbackConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,7 +44,6 @@ import org.springframework.util.ReflectionUtils; * and {@code file-appender.xml} files provided for classic {@code logback.xml} use. * * @author Phillip Webb - * @since 1.1.2 */ class DefaultLogbackConfiguration { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/logback/LevelRemappingAppender.java b/spring-boot/src/main/java/org/springframework/boot/logging/logback/LevelRemappingAppender.java index c4ee3a600ce..4db3d75d2cb 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/logback/LevelRemappingAppender.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/logback/LevelRemappingAppender.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ import org.springframework.util.StringUtils; * written. * * @author Phillip Webb + * @since 1.0.0 * @see #setRemapLevels(String) * @see #setDestinationLogger(String) */ diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackConfigurator.java b/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackConfigurator.java index 4991446a655..720d5c93338 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackConfigurator.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackConfigurator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,7 +36,6 @@ import org.springframework.util.Assert; * Allows programmatic configuration of logback which is usually faster than parsing XML. * * @author Phillip Webb - * @since 1.2.0 */ class LogbackConfigurator { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackLoggingSystem.java b/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackLoggingSystem.java index 05fc75171fe..d355f90f296 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackLoggingSystem.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/logback/LogbackLoggingSystem.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,6 +55,7 @@ import org.springframework.util.StringUtils; * @author Dave Syer * @author Andy Wilkinson * @author Ben Hale + * @since 1.0.0 */ public class LogbackLoggingSystem extends Slf4JLoggingSystem { diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/logback/WhitespaceThrowableProxyConverter.java b/spring-boot/src/main/java/org/springframework/boot/logging/logback/WhitespaceThrowableProxyConverter.java index b5391512499..422bc641c4e 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/logback/WhitespaceThrowableProxyConverter.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/logback/WhitespaceThrowableProxyConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import ch.qos.logback.core.CoreConstants; * trace. * * @author Phillip Webb + * @since 1.0.0 */ public class WhitespaceThrowableProxyConverter extends ThrowableProxyConverter { diff --git a/spring-boot/src/main/java/org/springframework/boot/validation/MessageInterpolatorFactory.java b/spring-boot/src/main/java/org/springframework/boot/validation/MessageInterpolatorFactory.java index a3680edf050..9500a4ec50d 100644 --- a/spring-boot/src/main/java/org/springframework/boot/validation/MessageInterpolatorFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/validation/MessageInterpolatorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2017 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ import org.springframework.util.ClassUtils; * classpath. * * @author Phillip Webb + * @since 1.5.0 */ public class MessageInterpolatorFactory implements ObjectFactory { diff --git a/spring-boot/src/main/java/org/springframework/boot/yaml/SpringProfileDocumentMatcher.java b/spring-boot/src/main/java/org/springframework/boot/yaml/SpringProfileDocumentMatcher.java index 8bbad1cb634..0f0d7f9109b 100644 --- a/spring-boot/src/main/java/org/springframework/boot/yaml/SpringProfileDocumentMatcher.java +++ b/spring-boot/src/main/java/org/springframework/boot/yaml/SpringProfileDocumentMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,6 +47,7 @@ import org.springframework.util.StringUtils; * @author Matt Benson * @author Phillip Webb * @author Andy Wilkinson + * @since 1.0.0 */ public class SpringProfileDocumentMatcher implements DocumentMatcher {