diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 35c4498..dc2c5d8 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -1,3 +1,7 @@ +/** + * JPMS module simpletimeapi. + * Describes API for ALDA Assignment SimpleTime. + */ module simpletimeapi { exports simpletimeapi; } diff --git a/src/main/java/simpletimeapi/Duration.java b/src/main/java/simpletimeapi/Duration.java index ecc8a31..87445b1 100644 --- a/src/main/java/simpletimeapi/Duration.java +++ b/src/main/java/simpletimeapi/Duration.java @@ -55,7 +55,7 @@ public interface Duration extends Comparable { /** * Equals method. * Hint: generate equals method together with hashCode. - * @param other + * @param other object * @return true if the value of this Duration is equal to the value of other Duration. */ @Override diff --git a/src/main/java/simpletimeapi/Time.java b/src/main/java/simpletimeapi/Time.java index 25cd220..9fb2e04 100644 --- a/src/main/java/simpletimeapi/Time.java +++ b/src/main/java/simpletimeapi/Time.java @@ -115,7 +115,7 @@ default int asMinutes() { /** * Equals method. * Hint: generate equals method together with hashCode. - * @param other + * @param other object * @return true if the value of this Time is equal to the value of other Time. */ @Override