Skip to content
Permalink
Browse files
Removing last warnings.
  • Loading branch information
myrle-krantz committed Apr 16, 2018
1 parent efa7c78 commit a7b380ca34c493ff202edab1ace85cd3ebae0e60
Showing 1 changed file with 3 additions and 3 deletions.
@@ -86,7 +86,7 @@ class CollectCreatedLedgers implements Answer {
}

@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 Void answer(InvocationOnMock invocation) throws Throwable {

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 Ledger answer(InvocationOnMock invocation) throws Throwable {
}

@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();

0 comments on commit a7b380c

Please sign in to comment.