clean-code-java icon indicating copy to clipboard operation
clean-code-java copied to clipboard

correct code

Open NZ62AN opened this issue 4 years ago • 0 comments

hi,please correct final row :

Good:

private void addMonthToDate(Date date, int month){ //.. }

Date date = new Date(); addMonthToDate(1, date); ---> addMonthToDate(date, 1);

NZ62AN avatar Dec 27 '21 10:12 NZ62AN