Remove redundant throws declarations from non public API

Closes gh-828
This commit is contained in:
Andy Wilkinson
2022-07-15 12:38:25 +01:00
parent 6ab923b470
commit ebe70a91c7
45 changed files with 228 additions and 237 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2021 the original author or authors.
* Copyright 2014-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@ public class InvokeService {
private RequestSpecification spec;
public void invokeService() throws Exception {
public void invokeService() {
// tag::invoke-service[]
RestAssured.given(this.spec) // <1>
.accept("application/json") // <2>