Skip to content

newTask return now task id created in db#42

Merged
silrenan merged 2 commits intomainfrom
41-adjust-the-return-type-of-the-newTask-method
Jun 9, 2025
Merged

newTask return now task id created in db#42
silrenan merged 2 commits intomainfrom
41-adjust-the-return-type-of-the-newTask-method

Conversation

@pedr0limpio
Copy link
Copy Markdown
Owner

@pedr0limpio pedr0limpio commented Jun 5, 2025

CHANGED: writeTask() now returns int instead of void

The method signature was updated:

  • public abstract void writeTask(Task task);
  • public abstract int writeTask(Task task);

All writeTask() repercussions must now return an int. Adjust accordingly.

@pedr0limpio pedr0limpio requested review from lpglinard and silrenan June 5, 2025 20:34
@pedr0limpio pedr0limpio added the bug Something isn't working label Jun 5, 2025
@pedr0limpio pedr0limpio removed the request for review from lpglinard June 5, 2025 21:00
@silrenan silrenan linked an issue Jun 6, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@silrenan silrenan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice commits @pedr0limpio , the work of a skilled senior.

Please, consider inline comments to match our alignment towards the code.

@silrenan silrenan merged commit adddf29 into main Jun 9, 2025
1 check passed
@silrenan silrenan deleted the 41-adjust-the-return-type-of-the-newTask-method branch June 9, 2025 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adjust the return type of the newTask method

2 participants