Skip to content

Commit df864d0

Browse files
author
Bruce Eckel
committed
more gradle path fixes
1 parent e05401e commit df864d0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

arrays/ParallelSetAll.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import onjava.*;
77

88
public class ParallelSetAll {
9-
static final int SIZE = 20_000_000;
9+
static final int SIZE = 10_000_000;
1010
static void intArray() {
1111
int[] ia = new int[SIZE];
1212
Arrays.setAll(ia, new Rand.int_()::get);

patterns/trash/ParseTrash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class ParseTrash {
1616
public static <T extends Trash> void
1717
fillBin(String pckg, Fillable<T> bin) {
1818
try {
19-
Files.lines(Paths.get("..", "trash", "Trash.dat"))
19+
Files.lines(Paths.get("trash", "Trash.dat"))
2020
// Remove empty lines and comment lines:
2121
.filter(line -> line.trim().length() != 0)
2222
.filter(line -> !line.startsWith("//"))

reuse/CADSystem.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
55
// Ensuring proper cleanup
6+
// {main: reuse.CADSystem}
67
package reuse;
78

89
class Shape {

0 commit comments

Comments
 (0)