Skip to content

Commit

Permalink
PR #235: Fixed typo in exception
Browse files Browse the repository at this point in the history
  • Loading branch information
hypfvieh committed Oct 23, 2023
1 parent aeaad83 commit 6f445e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static void checkMethod(Method _method) {
throw new IllegalArgumentException("READ properties must have zero parameters, and not return void.");
}
if (access == Access.WRITE && (_method.getParameterCount() != 1 || !_method.getReturnType().equals(void.class))) {
throw new IllegalArgumentException("WRITE properties must have exaclty 1 parameter, and return void.");
throw new IllegalArgumentException("WRITE properties must have exactly 1 parameter, and return void.");
}
}
}

0 comments on commit 6f445e0

Please sign in to comment.