From 2ceab19b42453caf9891f2e47b41c2ecf36ce16c Mon Sep 17 00:00:00 2001 From: harshavs Date: Wed, 3 Jul 2019 19:23:18 -0400 Subject: [PATCH] Corrected indentation for continuations --- .../java/com/baeldung/array/MultiDimensionalArray.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core-java-modules/core-java-arrays/src/main/java/com/baeldung/array/MultiDimensionalArray.java b/core-java-modules/core-java-arrays/src/main/java/com/baeldung/array/MultiDimensionalArray.java index b0aece649b..4e01b99a14 100644 --- a/core-java-modules/core-java-arrays/src/main/java/com/baeldung/array/MultiDimensionalArray.java +++ b/core-java-modules/core-java-arrays/src/main/java/com/baeldung/array/MultiDimensionalArray.java @@ -62,8 +62,8 @@ public class MultiDimensionalArray { Integer[] findLengthOfElements(Integer[][] multiDimensionalArray) { return Arrays.stream(multiDimensionalArray) - .map(array -> array.length) - .toArray(Integer[]::new); + .map(array -> array.length) + .toArray(Integer[]::new); } int[][] copy2DArray(int[][] arrayOfArrays) { @@ -77,7 +77,7 @@ public class MultiDimensionalArray { Integer[][] copy2DArray(Integer[][] arrayOfArrays) { return Arrays.stream(arrayOfArrays) - .map(array -> Arrays.copyOf(array, array.length)) - .toArray(Integer[][]::new); + .map(array -> Arrays.copyOf(array, array.length)) + .toArray(Integer[][]::new); } }