BAEL-4236 | fix the failing build

This commit is contained in:
Vishal
2020-10-27 17:36:56 +05:30
parent e700813d80
commit dfb6a4eec2
2 changed files with 0 additions and 31 deletions

View File

@@ -1,18 +0,0 @@
package com.baeldung;
import java.util.Arrays;
import java.util.List;
public class CopyListUsingJava10Demo {
static List<Integer> copyList(List<Integer> source) {
return List.copyOf(source);
}
public static void main(String[] args) {
List<Integer> source = Arrays.asList(11, 22, 33);
List<Integer> destination = copyList(source);
System.out.println("copy = " + destination);
}
}