Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Fix possible repeated SuppressWarning with @EView#1267

Merged
yDelouis merged 1 commit into
androidannotations:developandroidannotations/androidannotations:developfrom
WonderCsabo:1262_viewHolderRepeatsSuppressWarningsWonderCsabo/androidannotations:1262_viewHolderRepeatsSuppressWarningsCopy head branch name to clipboard
Dec 6, 2014
Merged

Fix possible repeated SuppressWarning with @EView#1267
yDelouis merged 1 commit into
androidannotations:developandroidannotations/androidannotations:developfrom
WonderCsabo:1262_viewHolderRepeatsSuppressWarningsWonderCsabo/androidannotations:1262_viewHolderRepeatsSuppressWarningsCopy head branch name to clipboard

Conversation

@WonderCsabo

Copy link
Copy Markdown
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

yDelouis commented Dec 6, 2014

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.