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

Add "reason" and "fix" to ExcludedRef #365

Closed
pyricau opened this issue Jan 5, 2016 · 0 comments
Closed

Add "reason" and "fix" to ExcludedRef #365

pyricau opened this issue Jan 5, 2016 · 0 comments
Milestone

Comments

@pyricau
Copy link
Member

pyricau commented Jan 5, 2016

In AndroidExcludedRefs, we added a great length of comments explaining why we are ignoring the leak, and sometimes also suggesting a fix.

Instead of comments, we should make those strings, and then pass those strings along in the AnalysisResult if a leak is an ignored leak.

@pyricau pyricau added this to the 1.4 milestone Jan 7, 2016
pyricau added a commit that referenced this issue Jan 7, 2016
pyricau added a commit that referenced this issue Jan 8, 2016
@pyricau pyricau removed this from the 1.4 milestone Jan 8, 2016
pyricau added a commit that referenced this issue Jan 8, 2016
* When creating an ExcludedRef rule, we can now provide a name for that rule and a reason.
* When such a rule applies to an analysis result, it is stored in the leak trace element.
* Also moved the lengthy comments in AndroidExcludedRefs to now be ExcludedRef reasons, embedded in LeakCanary.

Fixes #365
pyricau added a commit that referenced this issue Jan 8, 2016
* When creating an ExcludedRef rule, we can now provide a name for that rule and a reason.
* When such a rule applies to an analysis result, it is stored in the leak trace element.
* Also moved the lengthy comments in AndroidExcludedRefs to now be ExcludedRef reasons, embedded in LeakCanary.

Fixes #365
pyricau added a commit that referenced this issue Jan 8, 2016
* When creating an ExcludedRef rule, we can now provide a name for that rule and a reason.
* When such a rule applies to an analysis result, it is stored in the leak trace element.
* Also moved the lengthy comments in AndroidExcludedRefs to now be ExcludedRef reasons, embedded in LeakCanary.

Fixes #365
pyricau added a commit that referenced this issue Jan 23, 2016
* When creating an ExcludedRef rule, we can now provide a name for that rule and a reason.
* When such a rule applies to an analysis result, it is stored in the leak trace element.
* Also moved the lengthy comments in AndroidExcludedRefs to now be ExcludedRef reasons, embedded in LeakCanary.

Fixes #365
@pyricau pyricau added this to the 1.4 milestone Jan 23, 2016
Pengchengxiang pushed a commit to XLibrarys/leakcanary that referenced this issue Jan 2, 2017
* When creating an ExcludedRef rule, we can now provide a name for that rule and a reason.
* When such a rule applies to an analysis result, it is stored in the leak trace element.
* Also moved the lengthy comments in AndroidExcludedRefs to now be ExcludedRef reasons, embedded in LeakCanary.

Fixes square#365
Pengchengxiang pushed a commit to XLibrarys/leakcanary that referenced this issue Jan 2, 2017
* When creating an ExcludedRef rule, we can now provide a name for that rule and a reason.
* When such a rule applies to an analysis result, it is stored in the leak trace element.
* Also moved the lengthy comments in AndroidExcludedRefs to now be ExcludedRef reasons, embedded in LeakCanary.

Fixes square#365
Pengchengxiang pushed a commit to XLibrarys/leakcanary that referenced this issue Jan 2, 2017
* When creating an ExcludedRef rule, we can now provide a name for that rule and a reason.
* When such a rule applies to an analysis result, it is stored in the leak trace element.
* Also moved the lengthy comments in AndroidExcludedRefs to now be ExcludedRef reasons, embedded in LeakCanary.

Fixes square#365
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant