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-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 {