Polish Javadoc

Update Javadoc to add missing @return and @param elements.
This commit is contained in:
Phillip Webb
2015-02-03 11:34:27 -08:00
parent e489ab9b29
commit 8e398dc6a7
40 changed files with 131 additions and 27 deletions

View File

@@ -66,6 +66,7 @@ public final class Dependency {
/**
* Return the dependency group id.
* @return the group ID
*/
public String getGroupId() {
return this.groupId;
@@ -73,6 +74,7 @@ public final class Dependency {
/**
* Return the dependency artifact id.
* @return the artifact ID
*/
public String getArtifactId() {
return this.artifactId;
@@ -80,6 +82,7 @@ public final class Dependency {
/**
* Return the dependency version.
* @return the version
*/
public String getVersion() {
return this.version;
@@ -87,6 +90,7 @@ public final class Dependency {
/**
* Return the dependency exclusions.
* @return the exclusions
*/
public List<Exclusion> getExclusions() {
return this.exclusions;
@@ -145,14 +149,16 @@ public final class Dependency {
}
/**
* Return the exclusion artifact id.
* Return the exclusion artifact ID.
* @return the exclusion artifact ID
*/
public String getArtifactId() {
return this.artifactId;
}
/**
* Return the exclusion group id.
* Return the exclusion group ID.
* @return the exclusion group ID
*/
public String getGroupId() {
return this.groupId;

View File

@@ -41,6 +41,7 @@ public abstract class ManagedDependencies implements Dependencies {
/**
* Return the 'spring-boot-dependencies' POM version.
* @return the version
* @deprecated since 1.1.0 in favor of {@link #getSpringBootVersion()}
*/
@Deprecated
@@ -50,6 +51,7 @@ public abstract class ManagedDependencies implements Dependencies {
/**
* Return the 'spring-boot-dependencies' POM version.
* @return the spring boot version
*/
public String getSpringBootVersion() {
Dependency dependency = find("org.springframework.boot", "spring-boot");