From b218d77d20aad147a1ebbc97d6ec93a54fcab772 Mon Sep 17 00:00:00 2001 From: Pepich Date: Sun, 14 May 2017 23:53:32 +0200 Subject: [PATCH] Removed improperly placed "@throws" from javadocs --- src/com/redstoner/misc/VersionHelper.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/com/redstoner/misc/VersionHelper.java b/src/com/redstoner/misc/VersionHelper.java index 2c4a266..1b20b16 100644 --- a/src/com/redstoner/misc/VersionHelper.java +++ b/src/com/redstoner/misc/VersionHelper.java @@ -8,7 +8,7 @@ import com.redstoner.exceptions.MissingVersionException; /** This class can be used to compare modules against the loader version or against each other to prevent dependency issues. * * @author Pepich */ -@Version(major = 2, minor = 1, revision = 2, compatible = 0) +@Version(major = 2, minor = 1, revision = 3, compatible = 0) public final class VersionHelper { private VersionHelper() @@ -63,8 +63,7 @@ public final class VersionHelper * * @param base The API version to compare to. * @param module The module version to compare. - * @return true, when the module is up to date with the API, or the API supports outdated modules. - * @throws MissingVersionException When one of the parameters is not annotated with a @Version annotation. */ + * @return true, when the module is up to date with the API, or the API supports outdated modules. */ public static boolean isCompatible(Version apiVersion, Version moduleVersion) { if (apiVersion.major() >= moduleVersion.compatible())