@@ -83,7 +83,7 @@ public static int getInt(String string) {
8383 * fails. If the string is null, the default value is returned.
8484 *
8585 * @param string the string to convert, may be null
86- * @param def the default value
86+ * @param def the default value
8787 * @return the int represented by the string, or the default if conversion fails
8888 */
8989 public static int getInt (String string , int def ) {
@@ -127,7 +127,7 @@ public static double getDouble(String string) {
127127 * fails. If the string is null, the default value is returned.
128128 *
129129 * @param string the string to convert, may be null
130- * @param def the default value
130+ * @param def the default value
131131 * @return the double represented by the string, or the default if conversion fails
132132 */
133133 public static double getDouble (String string , double def ) {
@@ -141,7 +141,7 @@ public static double getDouble(String string, double def) {
141141 }
142142
143143 /**
144- * Checks if the String is primitive type long or not.
144+ * Checks if the String is primitive type long or not.
145145 *
146146 * @param str the String to check, may be null
147147 * @return true if long, and is non-null
@@ -171,7 +171,7 @@ public static long getLong(String string) {
171171 * fails. If the string is null, the default value is returned.
172172 *
173173 * @param string the string to convert, may be null
174- * @param def the default value
174+ * @param def the default value
175175 * @return the long represented by the string, or the default if conversion fails
176176 */
177177 public static long getLong (String string , long def ) {
@@ -215,7 +215,7 @@ public static long getShort(String string) {
215215 * fails. If the string is null, the default value is returned.
216216 *
217217 * @param string the string to convert, may be null
218- * @param def the default value
218+ * @param def the default value
219219 * @return the short represented by the string, or the default if conversion fails
220220 */
221221 public static long getShort (String string , short def ) {
@@ -259,7 +259,7 @@ public static float getFloat(String string) {
259259 * fails. If the string is null, the default value is returned.
260260 *
261261 * @param string the string to convert, may be null
262- * @param def the default value
262+ * @param def the default value
263263 * @return the float represented by the string, or the default if conversion fails
264264 */
265265 public static float getFloat (String string , float def ) {
@@ -276,8 +276,8 @@ public static float getFloat(String string, float def) {
276276 * Checks if the given value is between given values.
277277 *
278278 * @param value the Integer to check is between values
279- * @param min the minimum value to check given Integer
280- * @param max the maximum value to check given Integer
279+ * @param min the minimum value to check given Integer
280+ * @param max the maximum value to check given Integer
281281 * @return true if value is between min and max values
282282 */
283283 public static boolean isBetween (int value , int min , int max ) {
@@ -292,11 +292,11 @@ public static boolean isBetween(int value, int min, int max) {
292292 * and integer is 13 it will return 9 not 18 because
293293 * remainder between floor and integer is greater.
294294 *
295- * @param integer int to be rounded
296- * @param floor int to be rounded multiple of
295+ * @param integer int to be rounded
296+ * @param floor int to be rounded multiple of
297297 * @return rounded integer
298298 */
299299 public static int roundInteger (int integer , int floor ) {
300300 return integer < floor ? floor : (int ) (floor * (Math .round ((double ) integer / floor )));
301301 }
302- }
302+ }
0 commit comments