From 00d162db00a7b13f7b0efc5ac77600a9703055a5 Mon Sep 17 00:00:00 2001 From: Kate Kraska Date: Tue, 19 Nov 2024 10:29:31 +0200 Subject: [PATCH] fix checkstyle1 --- src/main/java/practice/CandidateValidator.java | 2 +- src/main/java/practice/StreamPractice.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/practice/CandidateValidator.java b/src/main/java/practice/CandidateValidator.java index 562669c1e..0d1f428f9 100644 --- a/src/main/java/practice/CandidateValidator.java +++ b/src/main/java/practice/CandidateValidator.java @@ -1,8 +1,8 @@ package practice; -import model.Candidate; import java.util.Arrays; import java.util.function.Predicate; +import model.Candidate; public class CandidateValidator implements Predicate { diff --git a/src/main/java/practice/StreamPractice.java b/src/main/java/practice/StreamPractice.java index d633c48ec..8cd597f54 100644 --- a/src/main/java/practice/StreamPractice.java +++ b/src/main/java/practice/StreamPractice.java @@ -1,12 +1,12 @@ package practice; import java.util.List; +import java.util.NoSuchElementException; +import java.util.stream.Collectors; +import java.util.stream.IntStream; import model.Candidate; import model.Cat; import model.Person; -import java.util.NoSuchElementException; -import java.util.stream.IntStream; -import java.util.stream.Collectors; public class StreamPractice { public int findMinEvenNumber(List numbers) {