Skip to content

Commit

Permalink
Remove unused annotations and unthrown exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Mar 6, 2018
1 parent 1ecef25 commit 15f1c7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions java/server/src/org/openqa/grid/internal/TestSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
* available for a test. <p> The session is destroyed when the test ends ( ended by the client or
* timed out)
*/
@SuppressWarnings("JavaDoc")
@ManagedService
public class TestSession {

Expand Down Expand Up @@ -376,7 +375,7 @@ private void updateHubNewSeleniumSession(String content) {

private byte[] updateHubIfNewWebDriverSession(
SeleniumBasedRequest request,
HttpResponse proxyResponse) throws IOException {
HttpResponse proxyResponse) {
if (!(request.getRequestType() == RequestType.START_SESSION &&
request instanceof WebDriverRequest)) {
return null;
Expand Down

0 comments on commit 15f1c7e

Please sign in to comment.