This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 64707dba429659caec71cc2b06744a5efa5221a7
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Tue Mar 8 14:53:30 2022 +0100

    CAMEL-17763: cleaned up unused exceptions in camel-google-sheets
---
 .../camel/component/google/sheets/SheetsConfigurationTest.java      | 4 ++--
 .../apache/camel/component/google/sheets/SheetsSpreadsheetsIT.java  | 6 +++---
 .../camel/component/google/sheets/SheetsSpreadsheetsValuesIT.java   | 2 +-
 .../google/sheets/server/GoogleSheetsApiTestServerAssert.java       | 2 +-
 .../google/sheets/stream/SheetsStreamConsumerIntegrationTest.java   | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsConfigurationTest.java
 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsConfigurationTest.java
index e4d0e72..6dfe502 100644
--- 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsConfigurationTest.java
+++ 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsConfigurationTest.java
@@ -46,7 +46,7 @@ public class SheetsConfigurationTest extends CamelTestSupport 
{
     }
 
     @Test
-    public void testConfiguration() throws Exception {
+    public void testConfiguration() {
         GoogleSheetsEndpoint endpoint = getMandatoryEndpoint(TEST_URI, 
GoogleSheetsEndpoint.class);
         GoogleSheetsConfiguration configuration = endpoint.getConfiguration();
         assertNotNull(configuration);
@@ -58,7 +58,7 @@ public class SheetsConfigurationTest extends CamelTestSupport 
{
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
             public void configure() {
diff --git 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsSpreadsheetsIT.java
 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsSpreadsheetsIT.java
index 12560e8..78dc59e 100644
--- 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsSpreadsheetsIT.java
+++ 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsSpreadsheetsIT.java
@@ -52,7 +52,7 @@ public class SheetsSpreadsheetsIT extends 
AbstractGoogleSheetsTestSupport {
             = 
GoogleSheetsApiCollection.getCollection().getApiName(SheetsSpreadsheetsApiMethod.class).getName();
 
     @Test
-    public void testCreate() throws Exception {
+    public void testCreate() {
         String title = "camel-sheets-" + new 
SecureRandom().nextInt(Integer.MAX_VALUE);
         Spreadsheet sheetToCreate = new Spreadsheet();
         SpreadsheetProperties sheetProperties = new SpreadsheetProperties();
@@ -96,7 +96,7 @@ public class SheetsSpreadsheetsIT extends 
AbstractGoogleSheetsTestSupport {
     }
 
     @Test
-    public void testBatchUpdate() throws Exception {
+    public void testBatchUpdate() {
         assertThatGoogleApi(getGoogleApiTestServer())
                 .createSpreadsheetRequest()
                 .hasSheetTitle("TestData")
@@ -130,7 +130,7 @@ public class SheetsSpreadsheetsIT extends 
AbstractGoogleSheetsTestSupport {
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
             public void configure() {
diff --git 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsSpreadsheetsValuesIT.java
 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsSpreadsheetsValuesIT.java
index ece4837..f6a10e8 100644
--- 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsSpreadsheetsValuesIT.java
+++ 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/SheetsSpreadsheetsValuesIT.java
@@ -202,7 +202,7 @@ public class SheetsSpreadsheetsValuesIT extends 
AbstractGoogleSheetsTestSupport
     }
 
     @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
             public void configure() {
diff --git 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/server/GoogleSheetsApiTestServerAssert.java
 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/server/GoogleSheetsApiTestServerAssert.java
index ff234cc..d9cf1b0 100644
--- 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/server/GoogleSheetsApiTestServerAssert.java
+++ 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/server/GoogleSheetsApiTestServerAssert.java
@@ -121,7 +121,7 @@ public final class GoogleSheetsApiTestServerAssert
             actual.getRunner().createVariable("range", range);
         }
 
-        public void andReturnClearResponse(String clearedRange) throws 
IOException {
+        public void andReturnClearResponse(String clearedRange) {
             actual.getRunner().async()
                     .actions(
                             actual.getRunner()
diff --git 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/stream/SheetsStreamConsumerIntegrationTest.java
 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/stream/SheetsStreamConsumerIntegrationTest.java
index 5be1862..c2f4030 100644
--- 
a/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/stream/SheetsStreamConsumerIntegrationTest.java
+++ 
b/components/camel-google/camel-google-sheets/src/test/java/org/apache/camel/component/google/sheets/stream/SheetsStreamConsumerIntegrationTest.java
@@ -157,7 +157,7 @@ public class SheetsStreamConsumerIntegrationTest extends 
AbstractGoogleSheetsStr
         assertEquals("b2", values.get(1));
     }
 
-    private RouteBuilder createGoogleStreamRouteBuilder(String spreadsheetId, 
boolean splitResults) throws Exception {
+    private RouteBuilder createGoogleStreamRouteBuilder(String spreadsheetId, 
boolean splitResults) {
         return new RouteBuilder() {
             @Override
             public void configure() {

Reply via email to