Remove use of @since

This commit is contained in:
Stephane Nicoll 2017-01-27 10:11:33 +01:00
parent 5ca1d4d128
commit 1aa10d39b0
68 changed files with 65 additions and 133 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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,7 +41,6 @@ import org.springframework.util.ObjectUtils
* Auto-configuration} to handle the metrics of an initializr instance.
*
* @author Dave Syer
* @since 1.0
*/
@Configuration
@AutoConfigureAfter([RedisAutoConfiguration, MetricExportAutoConfiguration])

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.retry.support.RetryTemplate
* Auto-configuration} to publish statistics of each generated project.
*
* @author Stephane Nicoll
* @since 1.0
*/
@Configuration
@EnableConfigurationProperties(StatsProperties)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.springframework.boot.context.properties.ConfigurationProperties
* Metrics-related configuration.
*
* @author Dave Syer
* @since 1.0
*/
@ConfigurationProperties('initializr.metrics')
class MetricsProperties {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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,7 +31,6 @@ import org.springframework.util.StringUtils
* various project related metrics.
*
* @author Stephane Nicoll
* @since 1.0
*/
class ProjectGenerationMetricsListener {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.web.client.RestTemplate
* Publish stats for each project generated to an Elastic index.
*
* @author Stephane Nicoll
* @since 1.0
*/
@Slf4j
class ProjectGenerationStatPublisher {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 groovy.transform.ToString
* Define the statistics of a project generation.
*
* @author Stephane Nicoll
* @since 1.0
*/
@ToString(ignoreNulls = true, includePackage = false, includeNames = true)
class ProjectRequestDocument {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.util.Agent
* Create {@link ProjectRequestDocument} instances.
*
* @author Stephane Nicoll
* @since 1.0
*/
class ProjectRequestDocumentFactory {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.springframework.util.StringUtils
* Statistics-related properties.
*
* @author Stephane Nicoll
* @since 1.0
*/
@ConfigurationProperties("initializr.stats")
class StatsProperties {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.data.redis.connection.jedis.JedisConnectionFactory
* A {@link org.junit.rules.TestRule} that validates Redis is available.
*
* @author Dave Syer
* @since 1.0
*/
class RedisRunning extends TestWatcher {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2014 the original author or authors.
* Copyright 2012-2017 the original author 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 groovy.transform.InheritConstructors
* Base Initializr exception.
*
* @author Stephane Nicoll
* @since 1.0
*/
@InheritConstructors
class InitializrException extends RuntimeException {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.generator
* input.
*
* @author Stephane Nicoll
* @since 1.0
*/
class BasicProjectRequest {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.util.GroovyTemplate
* Generate help pages for command-line clients.
*
* @author Stephane Nicoll
* @since 1.0
*/
class CommandLineHelpGenerator {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.InitializrException
* Thrown when a {@link ProjectRequest} is invalid.
*
* @author Stephane Nicoll
* @since 1.0
*/
@InheritConstructors
class InvalidProjectRequestException extends InitializrException {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.generator
* Event published when an error occured trying to generate a project.
*
* @author Stephane Nicoll
* @since 1.0
*/
class ProjectFailedEvent extends ProjectRequestEvent {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.generator
* Event published when a new project has been generated successfully.
*
* @author Stephane Nicoll
* @since 1.0
*/
class ProjectGeneratedEvent extends ProjectRequestEvent {

View File

@ -36,7 +36,6 @@ import static io.spring.initializr.metadata.InitializrConfiguration.Env.Maven.Pa
* @author Dave Syer
* @author Stephane Nicoll
* @author Sebastien Deleuze
* @since 1.0
*/
@Slf4j
class ProjectGenerator {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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,7 +31,6 @@ import io.spring.initializr.util.VersionRange
*
* @author Dave Syer
* @author Stephane Nicoll
* @since 1.0
*/
@Slf4j
@ToString(ignoreNulls = true, includePackage = false, includeNames = true)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.generator
* Event published when a {@link ProjectRequest} has been processed.
*
* @author Stephane Nicoll
* @since 1.0
* @see ProjectGeneratedEvent
* @see ProjectFailedEvent
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 org.springframework.util.StreamUtils
* Locate project resources.
*
* @author Stephane Nicoll
* @since 1.0
*/
class ProjectResourceLocator {

View File

@ -28,7 +28,6 @@ import io.spring.initializr.util.VersionRange
* if a dependency refers to it.
*
* @author Stephane Nicoll
* @since 1.0
*/
@ToString(ignoreNulls = true, excludes = 'mappings', includePackage = false)
@JsonInclude(JsonInclude.Include.NON_NULL)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata
* the default for a given capability.
*
* @author Stephane Nicoll
* @since 1.0
*/
class DefaultMetadataElement extends MetadataElement {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.util.VersionParser
* {@link ServiceCapabilityType#HIERARCHICAL_MULTI_SELECT} capability.
*
* @author Stephane Nicoll
* @since 1.0
*/
class DependenciesCapability extends ServiceCapability<List<DependencyGroup>> {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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,7 +31,6 @@ import io.spring.initializr.util.VersionRange
* arbitrary number of {@code aliases}.
*
* @author Stephane Nicoll
* @since 1.0
*/
@ToString(ignoreNulls = true, includePackage = false)
@JsonInclude(JsonInclude.Include.NON_EMPTY)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 com.fasterxml.jackson.annotation.JsonIgnore
* A group of {@link Dependency} instances identified by a name.
*
* @author Stephane Nicoll
* @since 1.0
*/
class DependencyGroup {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.util.Version
* Dependency metadata for a given spring boot {@link Version}.
*
* @author Stephane Nicoll
* @since 1.0
*/
class DependencyMetadata {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata
* Various configuration options used by the service.
*
* @author Stephane Nicoll
* @since 1.0
*/
class InitializrConfiguration {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.util.VersionParser
* Meta-data used to generate a project.
*
* @author Stephane Nicoll
* @since 1.0
* @see ServiceCapability
*/
class InitializrMetadata {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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.util.StreamUtils
* including remote URLs.
*
* @author Stephane Nicoll
* @since 1.0
* @see InitializrMetadataCustomizer
*/
class InitializrMetadataBuilder {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata
* Strategy interface used to customize the {@link InitializrMetadata}.
*
* @author Dave Syer
* @since 1.0
*/
interface InitializrMetadataCustomizer {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata
* Provide the {@link InitializrMetadata} to use.
*
* @author Stephane Nicoll
* @since 1.0
*/
interface InitializrMetadataProvider {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 org.springframework.boot.context.properties.ConfigurationProperties
* Configuration of the initializr service.
*
* @author Stephane Nicoll
* @since 1.0
*/
@ConfigurationProperties(prefix = 'initializr')
class InitializrProperties extends InitializrConfiguration {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.InitializrException
* Thrown when the configuration defines invalid metadata.
*
* @author Stephane Nicoll
* @since 1.0
*/
@InheritConstructors
class InvalidInitializrMetadataException extends InitializrException {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 groovy.transform.AutoCloneStyle
* A basic metadata element
*
* @author Stephane Nicoll
* @since 1.0
*/
@AutoClone(style = AutoCloneStyle.COPY_CONSTRUCTOR)
class MetadataElement {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 groovy.transform.ToString
* if a dependency refers to it.
*
* @author Stephane Nicoll
* @since 1.0
*/
@EqualsAndHashCode
@ToString(includePackage = false)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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,6 @@ import org.springframework.util.Assert
* is defined by a id and a {@link ServiceCapabilityType type}.
*
* @author Stephane Nicoll
* @since 1.0
*/
@JsonIgnoreProperties(["default", "all"])
@JsonInclude(JsonInclude.Include.NON_NULL)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata
* Defines the supported service capability type.
*
* @author Stephane Nicoll
* @since 1.0
*/
enum ServiceCapabilityType {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata
* A simple {@link InitializrMetadataProvider} implementation.
*
* @author Stephane Nicoll
* @since 1.0
*/
class SimpleInitializrMetadataProvider implements InitializrMetadataProvider {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 com.fasterxml.jackson.annotation.JsonProperty
* A {@link ServiceCapabilityType#SINGLE_SELECT single select} capability.
*
* @author Stephane Nicoll
* @since 1.0
*/
class SingleSelectCapability extends ServiceCapability<List<DefaultMetadataElement>> {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 com.fasterxml.jackson.annotation.JsonProperty
* A {@link ServiceCapabilityType#TEXT text} capability.
*
* @author Stephane Nicoll
* @since 1.0
*/
class TextCapability extends ServiceCapability<String> {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata
* action that should be invoked to generate the content of that type.
*
* @author Stephane Nicoll
* @since 1.0
*/
class Type extends DefaultMetadataElement {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 groovy.transform.AutoCloneStyle
* An {@link ServiceCapabilityType#ACTION action} capability.
*
* @author Stephane Nicoll
* @since 1.0
*/
@AutoClone(style = AutoCloneStyle.COPY_CONSTRUCTOR)
class TypeCapability extends ServiceCapability<List<Type>> {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.util
* Defines the agent that submitted a request.
*
* @author Stephane Nicoll
* @since 1.0
*/
class Agent {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.util.ConcurrentReferenceHashMap
/**
* @author Dave Syer
* @since 1.0
*/
class GroovyTemplate {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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,7 +34,6 @@ import org.springframework.util.Assert
* version, see {@link Comparable}.
*
* @author Stephane Nicoll
* @since 1.0
*/
@EqualsAndHashCode
@SuppressWarnings("serial")

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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
* </ul>
*
* @author Stephane Nicoll
* @since 1.0
*/
@EqualsAndHashCode
class VersionRange {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 static org.junit.Assert.assertTrue
* Very simple assertions for the gradle build.
*
* @author Stephane Nicoll
* @since 1.0
*/
class GradleBuildAssert {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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,7 +37,6 @@ import static org.junit.Assert.assertTrue
* XPath assertions that are specific to a standard Maven POM.
*
* @author Stephane Nicoll
* @since 1.0
*/
class PomAssert {

View File

@ -23,7 +23,6 @@ import static org.junit.Assert.assertTrue
* Various project based assertions.
*
* @author Stephane Nicoll
* @since 1.0
*/
class ProjectAssert {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 static org.junit.Assert.assertTrue
* Source code assertions.
*
* @author Stephane Nicoll
* @since 1.0
*/
class SourceCodeAssert {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata.Type
* Easily create a {@link InitializrMetadata} instance for testing purposes.
*
* @author Stephane Nicoll
* @since 1.0
*/
class InitializrMetadataTestBuilder {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.web.servlet.resource.ResourceUrlProvider
* clients.
*
* @author Stephane Nicoll
* @since 1.0
*/
@SpringBootApplication
class InitializrService {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.web.util.UriComponentsBuilder
* CloudFoundry. Injects the elastic service URI if present.
*
* @author Stephane Nicoll
* @since 1.0
*/
class CloudfoundryEnvironmentPostProcessor implements EnvironmentPostProcessor, Ordered {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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,7 +60,6 @@ import org.springframework.web.client.RestTemplate
* {@link ProjectGenerator}.
*
* @author Stephane Nicoll
* @since 1.0
*/
@Configuration
@EnableCaching

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 static io.spring.initializr.util.Agent.AgentId.HTTPIE
* Spring Initializr web configuration.
*
* @author Stephane Nicoll
* @since 1.0
*/
class WebConfig extends WebMvcConfigurerAdapter {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata.DependencyMetadata
* Generate a JSON representation of a set of dependencies.
*
* @author Stephane Nicoll
* @since 1.0
*/
interface DependencyMetadataJsonMapper {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata.Repository
* A {@link DependencyMetadataJsonMapper} handling the metadata format for v2.1.
*
* @author Stephane Nicoll
* @since 1.0
*/
class DependencyMetadataV21JsonMapper implements DependencyMetadataJsonMapper {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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 io.spring.initializr.metadata.InitializrMetadata
* Generate a JSON representation of the metadata.
*
* @author Stephane Nicoll
* @since 1.0
*/
interface InitializrMetadataJsonMapper {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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,6 @@ import org.springframework.hateoas.UriTemplate
* an additional `dependencies` endpoint.
*
* @author Stephane Nicoll
* @since 1.0
*/
class InitializrMetadataV21JsonMapper extends InitializrMetadataV2JsonMapper {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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,6 @@ import org.springframework.hateoas.UriTemplate
* A {@link InitializrMetadataJsonMapper} handling the metadata format for v2.
*
* @author Stephane Nicoll
* @since 1.0
*/
class InitializrMetadataV2JsonMapper implements InitializrMetadataJsonMapper {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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.springframework.http.MediaType
* Define the supported metadata version.
*
* @author Stephane Nicoll
* @since 1.0
*/
enum InitializrMetadataVersion {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.web.servlet.support.ServletUriComponentsBuilder
* A base controller that uses a {@link InitializrMetadataProvider}
*
* @author Stephane Nicoll
* @since 1.0
*/
abstract class AbstractInitializrController {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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,6 @@ import org.springframework.web.servlet.resource.ResourceUrlProvider
* A controller used to serve the legacy home page used by STS.
*
* @author Stephane Nicoll
* @since 1.0
*/
@Controller
@Deprecated

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -61,7 +61,6 @@ import static io.spring.initializr.util.Agent.AgentId.SPRING_BOOT_CLI
*
* @author Dave Syer
* @author Stephane Nicoll
* @since 1.0
*/
@Controller
@Slf4j

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2017 the original author 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,6 @@ import org.springframework.cache.annotation.Cacheable
* A default {@link DependencyMetadataProvider} implementation.
*
* @author Stephane Nicoll
* @since 1.0
*/
class DefaultDependencyMetadataProvider implements DependencyMetadataProvider {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.web.client.RestTemplate
* the metadata with the status of the main spring.io site.
*
* @author Stephane Nicoll
* @since 1.0
*/
@Slf4j
class DefaultInitializrMetadataProvider implements InitializrMetadataProvider {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.web.client.RestTemplate
* content.
*
* @author Stephane Nicoll
* @since 1.0
*/
class SpringBootMetadataReader {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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.web.bind.annotation.RestController
* UI specific controller providing dedicated endpoints for the Web UI.
*
* @author Stephane Nicoll
* @since 1.0
*/
@RestController
class UiController {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author 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 geb.Page
* A {@link Page} representing the home page of the application.
*
* @author Stephane Nicoll
* @since 1.0
*/
class HomePage extends Page {