From f3c4e3e36df8ac3a92b4d50da27278cf76ea663a Mon Sep 17 00:00:00 2001 From: Philippe Date: Mon, 17 Aug 2020 11:58:25 -0300 Subject: [PATCH] [BAEL-4381] Fix formatting --- .../archunit/smurfs/persistence/SmurfsRepository.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/persistence/SmurfsRepository.java b/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/persistence/SmurfsRepository.java index c18fcbc839..5d90d0f288 100644 --- a/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/persistence/SmurfsRepository.java +++ b/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/persistence/SmurfsRepository.java @@ -26,11 +26,7 @@ public class SmurfsRepository { smurfs.put("Baker", new Smurf("Baker", true, true)); smurfs.put("Baker", new Smurf("Baker", true, true)); } - - public SmurfsRepository() { - - } - + public List findAll() { return Collections.unmodifiableList(smurfs.values().stream().collect(toList())); }