Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Remove unused methods from ServiceRequestBase#27

Merged
vboctor merged 2 commits intoOfficeDev:masterfrom
semestry:unused-methods-in-servicerequestbase
Sep 22, 2014
Merged

Remove unused methods from ServiceRequestBase#27
vboctor merged 2 commits intoOfficeDev:masterfrom
semestry:unused-methods-in-servicerequestbase

Conversation

@evpaassen
Copy link
Copy Markdown
Contributor

  • ServiceRequestBase.emit() is unused.
  • ServiceRequestBase.endGetEwsHttpWebResponse() is unused, but also incorrect: Why would one compare an HTTP status code with an enum ordinal?!

- ServiceRequestBase.emit() is unused.

- ServiceRequestBase.endGetEwsHttpWebResponse() is unused, but also
  incorrect: Why would one compare an HTTP status code with an enum
  ordinal?!
@evpaassen evpaassen mentioned this pull request Sep 2, 2014
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be a commented call to this method in SimpleServiceRequestBase(). Please revise to match.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a commit which removes the commented call.

Also removed a getter call without assignment and some other commented
code in SimpleServiceRequestBase that made no sense.
vboctor added a commit that referenced this pull request Sep 22, 2014
Remove unused methods from ServiceRequestBase
@vboctor vboctor merged commit f60dbe9 into OfficeDev:master Sep 22, 2014
@evpaassen evpaassen deleted the unused-methods-in-servicerequestbase branch September 29, 2014 08:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants