diff options
| author | bjculkin <bjculkin@mix.wvu.edu> | 2018-02-12 22:45:04 -0500 |
|---|---|---|
| committer | bjculkin <bjculkin@mix.wvu.edu> | 2018-02-12 22:45:04 -0500 |
| commit | df94066e3af02ff02d5ab4d033a3d603f743234c (patch) | |
| tree | 168a1edaf58d386c175ffb601e9d4da8e13d31e2 /base/src/main/java/bjc/utils/components/IDescribedComponent.java | |
| parent | ae51c587c53f7ca311e556e3cbd0c5566d6c2843 (diff) | |
Formatting pass
Diffstat (limited to 'base/src/main/java/bjc/utils/components/IDescribedComponent.java')
| -rw-r--r-- | base/src/main/java/bjc/utils/components/IDescribedComponent.java | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/base/src/main/java/bjc/utils/components/IDescribedComponent.java b/base/src/main/java/bjc/utils/components/IDescribedComponent.java index 78af4bc..6921849 100644 --- a/base/src/main/java/bjc/utils/components/IDescribedComponent.java +++ b/base/src/main/java/bjc/utils/components/IDescribedComponent.java @@ -13,8 +13,7 @@ public interface IDescribedComponent extends Comparable<IDescribedComponent> { * * Providing this is optional, with "Anonymous" as the default author. * - * @return - * The author of the component. + * @return The author of the component. */ default String getAuthor() { return "Anonymous"; @@ -26,8 +25,7 @@ public interface IDescribedComponent extends Comparable<IDescribedComponent> { * Providing this is optional, with the default being a note that no * description was provided. * - * @return - * The description of the component + * @return The description of the component */ default String getDescription() { return "No description provided."; @@ -38,8 +36,7 @@ public interface IDescribedComponent extends Comparable<IDescribedComponent> { * * This is the only thing required of all components. * - * @return - * The name of the component. + * @return The name of the component. */ String getName(); @@ -48,8 +45,7 @@ public interface IDescribedComponent extends Comparable<IDescribedComponent> { * * Providing this is optional, with "1" as the default version. * - * @return - * The version of this component. + * @return The version of this component. */ default int getVersion() { return 1; @@ -59,7 +55,7 @@ public interface IDescribedComponent extends Comparable<IDescribedComponent> { default int compareTo(final IDescribedComponent o) { int res = getName().compareTo(o.getName()); - if (res == 0) { + if(res == 0) { res = getVersion() - o.getVersion(); } |
