aboutsummaryrefslogtreecommitdiff
path: root/src/ch/epfl/xblast/ArgumentChecker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ch/epfl/xblast/ArgumentChecker.java')
-rw-r--r--src/ch/epfl/xblast/ArgumentChecker.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/ArgumentChecker.java b/src/ch/epfl/xblast/ArgumentChecker.java
index 8e7ba76..a567fbb 100644
--- a/src/ch/epfl/xblast/ArgumentChecker.java
+++ b/src/ch/epfl/xblast/ArgumentChecker.java
@@ -3,11 +3,12 @@ package ch.epfl.xblast;
3/** 3/**
4 * ArgumentChecker. 4 * ArgumentChecker.
5 * 5 *
6 * @author Pacien TRAN-GIRARD (261948)
6 * @author Timothée FLOURE (257420) 7 * @author Timothée FLOURE (257420)
7 */ 8 */
8public final class ArgumentChecker { 9public final class ArgumentChecker {
9 /** 10 /**
10 * Return the given value if it is non-negative 11 * Returns the given value if it is non-negative.
11 * 12 *
12 * @param value the tested value 13 * @param value the tested value
13 * @throws IllegalArgumentException if the value is inferior to 0 14 * @throws IllegalArgumentException if the value is inferior to 0