Corrected indentation for continuations

This commit is contained in:
harshavs 2019-07-03 19:23:18 -04:00
parent ee3acb502b
commit 2ceab19b42
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}
}