Skip to content

Commit

Permalink
docs: clarify comments in versioncompare
Browse files Browse the repository at this point in the history
  • Loading branch information
darksaid98 committed Dec 22, 2024
1 parent 01763eb commit 7a3b3e8
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private static boolean isNumber(final @NotNull String identifier) {
*
* @param current the current version
* @param other the other version
* @return if currentVersion is same as otherVersion
* @return true if current version is same as other version
*/
@SuppressWarnings("unused")
public static boolean isEqual(@NotNull Version current, @NotNull Version other) {
Expand All @@ -142,7 +142,7 @@ public static boolean isEqual(@NotNull Version current, @NotNull Version other)
*
* @param current the current version
* @param other the other version
* @return if currentVersion is newer
* @return true if current version is newer than other version
*/
@SuppressWarnings("unused")
public static boolean isNewer(@NotNull Version current, @NotNull Version other) {
Expand All @@ -154,7 +154,7 @@ public static boolean isNewer(@NotNull Version current, @NotNull Version other)
*
* @param current the current version
* @param other the other version
* @return if currentVersion is older
* @return true if current version is older than other version
*/
@SuppressWarnings("unused")
public static boolean isOlder(@NotNull Version current, @NotNull Version other) {
Expand All @@ -166,7 +166,7 @@ public static boolean isOlder(@NotNull Version current, @NotNull Version other)
*
* @param current the current version
* @param other the other version
* @return if currentVersion is newer or equal to
* @return true if current version is newer or equal to other version
*/
@SuppressWarnings("unused")
public static boolean isNewerOrEqual(@NotNull Version current, @NotNull Version other) {
Expand All @@ -178,7 +178,7 @@ public static boolean isNewerOrEqual(@NotNull Version current, @NotNull Version
*
* @param current the current version
* @param other the other version
* @return if currentVersion is older or equal to
* @return true if current version is older or equal to other version
*/
@SuppressWarnings("unused")
public static boolean isOlderOrEqual(@NotNull Version current, @NotNull Version other) {
Expand Down

0 comments on commit 7a3b3e8

Please sign in to comment.