diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-03-22 12:28:35 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-03-22 12:28:35 -0400 |
| commit | 01cb9f504c860bc1c037a44f3a76bf342a293d46 (patch) | |
| tree | 02d1d34de0828159bbda93e881c93a6b45720f32 /BJC-Utils2/src/main/java/bjc/utils/components/IDescribedComponent.java | |
| parent | 4685955a62c430007c5c8ed2b915ffc618d30aca (diff) | |
General formatting cleanup and documentation update
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/components/IDescribedComponent.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/components/IDescribedComponent.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/components/IDescribedComponent.java b/BJC-Utils2/src/main/java/bjc/utils/components/IDescribedComponent.java index f1d8b1c..15be70d 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/components/IDescribedComponent.java +++ b/BJC-Utils2/src/main/java/bjc/utils/components/IDescribedComponent.java @@ -9,13 +9,15 @@ package bjc.utils.components; */ public interface IDescribedComponent { /** - * Get the name of this component. + * Get the author of this component * - * This is the only thing required of all components + * Providing this is optional, with "Anonymous" as the default author * - * @return The name of the component + * @return The author of the component */ - public String getName(); + public default String getAuthor() { + return "Anonymous"; + } /** * Get the description of this component @@ -30,15 +32,13 @@ public interface IDescribedComponent { } /** - * Get the author of this component + * Get the name of this component. * - * Providing this is optional, with "Anonymous" as the default author + * This is the only thing required of all components * - * @return The author of the component + * @return The name of the component */ - public default String getAuthor() { - return "Anonymous"; - } + public String getName(); /** * Get the version of this component |
