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

Remove restErrorHandler field in rest service if not necessary #894

Merged
merged 1 commit into from May 11, 2014

Conversation

yDelouis
Copy link
Contributor

If the interface annotated with @Rest doesn't extends RestClientErrorHandling, the field restErrorHandler won't be assigned and will be always null. So, we shouldn't create it in the generated class and we should remove all the try-catch.
That's what does this PR.

@DayS
Copy link
Contributor

DayS commented Jan 20, 2014

Yep, I mentioned it in #888. Thanks for the fix

@DayS DayS merged commit bead889 into androidannotations:develop May 11, 2014
@DayS
Copy link
Contributor

DayS commented May 11, 2014

Merged. Thanks. I resolved the conflict during the merge

@DayS DayS added Defect and removed Defect labels May 11, 2014
@DayS DayS added this to the 3.1 milestone May 11, 2014
@yDelouis yDelouis deleted the removeUselessErrorHandler branch May 11, 2014 10:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants