Skip to content

Commit 74dff57

Browse files
Updating PR according to comment: Add throws IllegalArgumentException if payment is null.
1 parent 45d2701 commit 74dff57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/PaymentDao.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public PaymentDao(Session session) {
1111
/**
1212
* Saves payment in the database.
1313
* @param payment the payment to save
14+
* @throws IllegalArgumentException if payment is null
1415
*/
1516
public void save(Payment payment) {
1617

0 commit comments

Comments
 (0)