Skip to content

Commit

Permalink
Address code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffengreiner committed Jul 13, 2023
1 parent 30372f1 commit 436b286
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private Specification<SamplePreview> generateExperimentIdandFilterSpecification(
Specification<SamplePreview> sampleCodeSpec = SamplePreviewSpecs.sampleCodeContains(filter);
Specification<SamplePreview> sampleLabelSpec = SamplePreviewSpecs.sampleLabelContains(filter);
Specification<SamplePreview> batchLabelSpec = SamplePreviewSpecs.batchLabelContains(filter);
Specification<SamplePreview> bioReplicateLabelSpec = SamplePreviewSpecs.BioReplicateLabelContains(
Specification<SamplePreview> bioReplicateLabelSpec = SamplePreviewSpecs.bioReplicateLabelContains(
filter);
Specification<SamplePreview> speciesSpec = SamplePreviewSpecs.speciesContains(filter);
Specification<SamplePreview> specimenSpec = SamplePreviewSpecs.specimenContains(filter);
Expand Down Expand Up @@ -121,7 +121,7 @@ public static Specification<SamplePreview> batchLabelContains(String filter) {
builder.like(root.get("batchLabel"), "%" + filter + "%");
}

public static Specification<SamplePreview> BioReplicateLabelContains(String filter) {
public static Specification<SamplePreview> bioReplicateLabelContains(String filter) {
return (root, query, builder) ->
builder.like(root.get("bioReplicateLabel"), "%" + filter + "%");
}
Expand Down

0 comments on commit 436b286

Please sign in to comment.