0

Removed improperly placed "@throws" from javadocs

This commit is contained in:
Pepich 2017-05-14 23:53:32 +02:00
parent 45093f653f
commit b218d77d20

View File

@ -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. /** This class can be used to compare modules against the loader version or against each other to prevent dependency issues.
* *
* @author Pepich */ * @author Pepich */
@Version(major = 2, minor = 1, revision = 2, compatible = 0) @Version(major = 2, minor = 1, revision = 3, compatible = 0)
public final class VersionHelper public final class VersionHelper
{ {
private VersionHelper() private VersionHelper()
@ -63,8 +63,7 @@ public final class VersionHelper
* *
* @param base The API version to compare to. * @param base The API version to compare to.
* @param module The module version to compare. * @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. * @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. */
public static boolean isCompatible(Version apiVersion, Version moduleVersion) public static boolean isCompatible(Version apiVersion, Version moduleVersion)
{ {
if (apiVersion.major() >= moduleVersion.compatible()) if (apiVersion.major() >= moduleVersion.compatible())