Skip to content

Commit

Permalink
chore: checkstyle after recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
karel-rehor committed Sep 18, 2023
1 parent 2f56cc8 commit 412da6b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import io.bonitoo.qa.data.generator.SimpleStringGenerator;
import java.util.ArrayList;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/bonitoo/qa/conf/data/SampleConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/io/bonitoo/qa/data/Sample.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public abstract class Sample {

public abstract Sample update();

/**
* Helper factory method.
*/
public static Sample of(Function<SampleConfig, Sample> init, SampleConfig config) {
Sample s = init.apply(config);
s.setConfig(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;

import java.util.Arrays;

import static org.junit.jupiter.api.Assertions.*;

@Tag("unit")
Expand Down

0 comments on commit 412da6b

Please sign in to comment.