Skip to content

Commit

Permalink
Fix spotless violations
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrPrzybylak committed Mar 3, 2024
1 parent f5f2718 commit 0e5c94f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/mockito/internal/verification/Only.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void verify(VerificationData data) {
MatchableInvocation target = data.getTarget();
List<Invocation> invocations = data.getAllInvocations();
List<Invocation> chunk = findInvocations(invocations, target);
if(!chunk.isEmpty()) {
if (!chunk.isEmpty()) {
markVerified(chunk.get(0), target);
}
if (invocations.size() != 1 && !chunk.isEmpty()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@

public class OnlyTest extends TestBase {

@Mock
IMethods mock;
@Mock IMethods mock;

Only only = new Only();

Expand Down

0 comments on commit 0e5c94f

Please sign in to comment.