Removing last warnings. 6/head
authorMyrle Krantz <myrle@apache.org>
Mon, 16 Apr 2018 13:21:01 +0000 (15:21 +0200)
committerMyrle Krantz <myrle@apache.org>
Mon, 16 Apr 2018 13:21:01 +0000 (15:21 +0200)
accounting/src/test/java/org/apache/fineract/cn/ImportTest.java

index cfae09e3004805af436eaa5bdc5c6ca267f95f7b..fc86aa1d31ccb8f1a35bcd81dfd268845d4361db 100644 (file)
@@ -86,7 +86,7 @@ public class ImportTest {
     }
 
     @Override
-    public Void answer(InvocationOnMock invocation) throws Throwable {
+    public Void answer(InvocationOnMock invocation) {
       final Ledger ledger = invocation.getArgumentAt(indexOfLedger, Ledger.class);
 
       final ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
@@ -102,7 +102,7 @@ public class ImportTest {
 
   class ReturnLedgers implements Answer {
     @Override
-    public Ledger answer(InvocationOnMock invocation) throws Throwable {
+    public Ledger answer(InvocationOnMock invocation) {
       final String ledgerIdentifier = invocation.getArgumentAt(0, String.class);
       return createdLedgers.get(ledgerIdentifier);
     }
@@ -118,7 +118,7 @@ public class ImportTest {
     }
 
     @Override
-    public Void answer(InvocationOnMock invocation) throws Throwable {
+    public Void answer(InvocationOnMock invocation) {
       final T thingy = invocation.getArgumentAt(indexOfArgument, thingyClass);
 
       final ValidatorFactory factory = Validation.buildDefaultValidatorFactory();