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

GCI-142: Removed APIException #2781

Merged
merged 1 commit into from
Nov 12, 2018
Merged

GCI-142: Removed APIException #2781

merged 1 commit into from
Nov 12, 2018

Conversation

Bisht13
Copy link
Contributor

@Bisht13 Bisht13 commented Nov 11, 2018

Description of what I changed

One of my changes from my PR #2780
Removing APIException
Sonar errors:-
https://goo.gl/3386fk
https://goo.gl/kLi4JP
https://goo.gl/KFE81t
https://goo.gl/1UVjLa
https://goo.gl/rR5MEx
https://goo.gl/27NHJX
https://goo.gl/vv1gza
https://goo.gl/g3AWcX
https://goo.gl/ZKkQ9U

Issue I worked on

see https://issues.openmrs.org/browse/GCI-142
Task Instance https://codein.withgoogle.com/dashboard/task-instances/6187644498214912/

Checklist: I completed these to help reviewers :)

  • My pull request only contains ONE single commit

  • My IDE is configured to follow the [code style]

  • I have added tests to cover my changes.

  • I ran mvn clean package right before creating this pull request and
    added all formatting changes to my commit.

  • All new and existing tests passed.

  • My pull request is based on the latest changes of the master branch.

@coveralls
Copy link

coveralls commented Nov 11, 2018

Coverage Status

Coverage decreased (-0.009%) to 59.369% when pulling 4ca4fca on Bisht13:GCI-142-1 into b8c4f41 on openmrs:master.

@dkayiwa
Copy link
Member

dkayiwa commented Nov 11, 2018

Why are you removing the API Exception?

@Bisht13
Copy link
Contributor Author

Bisht13 commented Nov 11, 2018

Sonar pointed it out saying as it is a runtime exception it'll never run

@dkayiwa
Copy link
Member

dkayiwa commented Nov 11, 2018

You need to give details of that. Or at least a link explaining so. For it is not correct to say that an APIException will never run.

@Bisht13
Copy link
Contributor Author

Bisht13 commented Nov 11, 2018

Should I write it in the PR itself?

@dkayiwa
Copy link
Member

dkayiwa commented Nov 11, 2018

Whatever you can do to empower the reviewer with knowledge as to why you are raising this pull request. 😊

@Bisht13
Copy link
Contributor Author

Bisht13 commented Nov 11, 2018

@dkayiwa alright 😊

@Bisht13
Copy link
Contributor Author

Bisht13 commented Nov 12, 2018

I added the Sonar Issues in the PR itself. I hope this is sufficient 😃

@dkayiwa dkayiwa merged commit 5039d20 into openmrs:master Nov 12, 2018
@dkayiwa
Copy link
Member

dkayiwa commented Nov 12, 2018

Thanks @Bisht13 👍

@Bisht13 Bisht13 deleted the GCI-142-1 branch December 14, 2018 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants