[jsemver] 91/95: Add @throws tag to the Version.forIntegers()'s Javadoc
Alexandre Viau
reazem-guest at moszumanska.debian.org
Mon Feb 16 14:58:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
reazem-guest pushed a commit to branch master
in repository jsemver.
commit d7d9c1aec2904bfe7abd1016a34da1016ed7a69a
Author: Zafar Khaja <zafarkhaja at gmail.com>
Date: Thu Aug 14 21:31:30 2014 +0300
Add @throws tag to the Version.forIntegers()'s Javadoc
---
src/main/java/com/github/zafarkhaja/semver/Version.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main/java/com/github/zafarkhaja/semver/Version.java b/src/main/java/com/github/zafarkhaja/semver/Version.java
index e49d87d..166f216 100644
--- a/src/main/java/com/github/zafarkhaja/semver/Version.java
+++ b/src/main/java/com/github/zafarkhaja/semver/Version.java
@@ -271,6 +271,7 @@ public class Version implements Comparable<Version> {
*
* @param major the major version number
* @return a new instance of the {@code Version} class
+ * @throws IllegalArgumentException if a negative integer is passed
* @since 0.7.0
*/
public static Version forIntegers(int major) {
@@ -284,6 +285,7 @@ public class Version implements Comparable<Version> {
* @param major the major version number
* @param minor the minor version number
* @return a new instance of the {@code Version} class
+ * @throws IllegalArgumentException if a negative integer is passed
* @since 0.7.0
*/
public static Version forIntegers(int major, int minor) {
@@ -298,6 +300,7 @@ public class Version implements Comparable<Version> {
* @param minor the minor version number
* @param patch the patch version number
* @return a new instance of the {@code Version} class
+ * @throws IllegalArgumentException if a negative integer is passed
* @since 0.7.0
*/
public static Version forIntegers(int major, int minor, int patch) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jsemver.git
More information about the pkg-java-commits
mailing list