Updated parameters to be final

This commit is contained in:
Trishaan committed 2025-09-29 01:32:34 -07:00
1 parent 804a7619fe
commit ad4296d6a4
1 file changed
+5 -1
+5 -1
View File
@@ -61,7 +61,11 @@ public abstract class IDevice {
* @param minCharacterCount passes the minimum number of characters that can be accepted
* as an integer.
* */
public void stringValidator(String toBeValidated, int minCharacterCount, int maxCharacterCount) {
public void stringValidator(final String toBeValidated,
final int minCharacterCount,
final int maxCharacterCount)
{
if (toBeValidated == null) {
throw new IllegalArgumentException("Value cannot be null");
}