cleanup-and-merge-tests: fix warnings, set gradlew permissions, enable unchecked warnings in maven

This commit is contained in:
Sean Leary
2023-12-30 16:30:19 -06:00
parent d7819a4fa2
commit 5ddb8c3d35
8 changed files with 17 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ import java.util.List;
*/
public class WeirdList {
/** */
private final List<Integer> list = new ArrayList();
private final List<Integer> list = new ArrayList<>();
/**
* @param vals
@@ -25,14 +25,14 @@ public class WeirdList {
* @return a copy of the list
*/
public List<Integer> get() {
return new ArrayList(this.list);
return new ArrayList<>(this.list);
}
/**
* @return a copy of the list
*/
public List<Integer> getALL() {
return new ArrayList(this.list);
return new ArrayList<>(this.list);
}
/**