From f22a46f27c12d9ae0fc3c8bc9506de2b0df41bb3 Mon Sep 17 00:00:00 2001 From: Natalia Pozhidaeva Date: Wed, 1 May 2024 19:19:56 -0500 Subject: [PATCH] #5470 fix formatting --- .../elements/displaydata/list/MUIList.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jdi-light-material-ui/src/main/java/com/epam/jdi/light/material/elements/displaydata/list/MUIList.java b/jdi-light-material-ui/src/main/java/com/epam/jdi/light/material/elements/displaydata/list/MUIList.java index 5c98587e97..1e5548b114 100644 --- a/jdi-light-material-ui/src/main/java/com/epam/jdi/light/material/elements/displaydata/list/MUIList.java +++ b/jdi-light-material-ui/src/main/java/com/epam/jdi/light/material/elements/displaydata/list/MUIList.java @@ -64,13 +64,13 @@ public List items(Class cl) { try { Constructor constr = cl.getConstructor(); return core().finds(itemLocator).stream().map(o -> { - try { - return constr.newInstance().setCore(cl, o); - } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { - throw new RuntimeException(e); - } - }) - .collect(Collectors.toList()); + try { + return constr.newInstance().setCore(cl, o); + } catch (InstantiationException | IllegalAccessException | InvocationTargetException e) { + throw new RuntimeException(e); + } + }) + .collect(Collectors.toList()); } catch (Exception ex) { throw runtimeException("Can not create a new object " + cl, ex); }