Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Fix possible repeated SuppressWarning with @EView #1267

Conversation

WonderCsabo
Copy link
Member

Fixes #1262.

I would appreciate if someone could look at this. I think this is the most clear way to handle this, but one can never know. :)

@yDelouis
Copy link
Contributor

yDelouis commented Dec 6, 2014

I made some comments on the code style, but I'm ok with this PR.

In case of @Eviews, we add a @SuppressWarnings annotation to the class.
Since we also copy annotations from the annotated class, this can result
in repeated annotations. This commit fixes the issue by only adding the
annotation (or an annotation array member) if needed.
@WonderCsabo WonderCsabo force-pushed the 1262_viewHolderRepeatsSuppressWarnings branch from b49ca79 to 492769c Compare December 6, 2014 11:12
@WonderCsabo
Copy link
Member Author

PR updated. However if you can, please comment on the PR diff instead of the individual commit so they show up in this PR comment page.

yDelouis added a commit that referenced this pull request Dec 6, 2014
…essWarnings

Fix possible repeated SuppressWarning with @eview
@yDelouis yDelouis merged commit 85f87d2 into androidannotations:develop Dec 6, 2014
@yDelouis yDelouis added this to the 3.3 milestone Dec 6, 2014
@yDelouis yDelouis added the Defect label Dec 6, 2014
@WonderCsabo WonderCsabo deleted the 1262_viewHolderRepeatsSuppressWarnings branch December 6, 2014 12:10
@WonderCsabo
Copy link
Member Author

@yDelouis thanks for the review!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

repeated annotations are not supported
2 participants