You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ik...@apache.org on 2019/09/02 22:25:25 UTC

[fineract-cn-default-setup] 21/30: Removing last warnings.

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

ikamga pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract-cn-default-setup.git

commit a7b380ca34c493ff202edab1ace85cd3ebae0e60
Author: Myrle Krantz <my...@apache.org>
AuthorDate: Mon Apr 16 15:21:01 2018 +0200

    Removing last warnings.
---
 accounting/src/test/java/org/apache/fineract/cn/ImportTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/accounting/src/test/java/org/apache/fineract/cn/ImportTest.java b/accounting/src/test/java/org/apache/fineract/cn/ImportTest.java
index cfae09e..fc86aa1 100644
--- a/accounting/src/test/java/org/apache/fineract/cn/ImportTest.java
+++ b/accounting/src/test/java/org/apache/fineract/cn/ImportTest.java
@@ -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();