From 75eccb228039b598f895a70caee12a19035f27d1 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 3 Dec 2024 02:52:33 +0100 Subject: [PATCH] fixed-1 --- src/main/java/practice/CandidateValidator.java | 3 +-- src/main/java/practice/StreamPractice.java | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/practice/CandidateValidator.java b/src/main/java/practice/CandidateValidator.java index bf7e4a5dc..3849676be 100644 --- a/src/main/java/practice/CandidateValidator.java +++ b/src/main/java/practice/CandidateValidator.java @@ -1,8 +1,7 @@ package practice; -import model.Candidate; - import java.util.function.Predicate; +import model.Candidate; public class CandidateValidator implements Predicate { @Override diff --git a/src/main/java/practice/StreamPractice.java b/src/main/java/practice/StreamPractice.java index 18ea799bf..5dcabda6f 100644 --- a/src/main/java/practice/StreamPractice.java +++ b/src/main/java/practice/StreamPractice.java @@ -1,12 +1,10 @@ package practice; import java.util.Arrays; -import java.util.Collections; 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;