more gradle path fixes
This commit is contained in:
parent
e05401eecc
commit
df864d009d
@ -6,7 +6,7 @@ import java.util.*;
|
||||
import onjava.*;
|
||||
|
||||
public class ParallelSetAll {
|
||||
static final int SIZE = 20_000_000;
|
||||
static final int SIZE = 10_000_000;
|
||||
static void intArray() {
|
||||
int[] ia = new int[SIZE];
|
||||
Arrays.setAll(ia, new Rand.int_()::get);
|
||||
|
@ -16,7 +16,7 @@ public class ParseTrash {
|
||||
public static <T extends Trash> void
|
||||
fillBin(String pckg, Fillable<T> bin) {
|
||||
try {
|
||||
Files.lines(Paths.get("..", "trash", "Trash.dat"))
|
||||
Files.lines(Paths.get("trash", "Trash.dat"))
|
||||
// Remove empty lines and comment lines:
|
||||
.filter(line -> line.trim().length() != 0)
|
||||
.filter(line -> !line.startsWith("//"))
|
||||
|
@ -3,6 +3,7 @@
|
||||
// We make no guarantees that this code is fit for any purpose.
|
||||
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
|
||||
// Ensuring proper cleanup
|
||||
// {main: reuse.CADSystem}
|
||||
package reuse;
|
||||
|
||||
class Shape {
|
||||
|
Loading…
x
Reference in New Issue
Block a user