Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix confusion between Article and ArticleReference #1802

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

barijaona
Copy link
Member

The confusion isn't really an issue, as ArticleReference accessors are also present into Article (this is in fact used by some methods like -innerMarkReadByRefsArray:readFlag: as an advantage for flexibility), but the proposed change should improve memory management.

Also explicit some NSArray's types to limit risks of further confusions.

The confusion isn't really an issue, as ArticleReference accessors are
also present into Article (this is in fact used by some methods like
-innerMarkReadByRefsArray:readFlag: as an advantage for flexibility),
but change should improve memory management.

Also explicit some NSArray's types to limit risks of further confusions.
Copy link
Contributor

@Eitot Eitot left a comment

Choose a reason for hiding this comment

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

It's good practice too to annotate arrays/dicts/sets like this.

@barijaona barijaona merged commit cdc274f into ViennaRSS:master Aug 27, 2024
2 checks passed
@barijaona barijaona deleted the articleReference branch August 27, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants