File tree 2 files changed +2
-2
lines changed
main/java/org/junit/internal/runners/statements
test/java/org/junit/tests/experimental/rules 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ public void evaluate() throws Throwable {
31
31
32
32
private StatementThread evaluateStatement () throws InterruptedException {
33
33
StatementThread thread = new StatementThread (fOriginalStatement );
34
- thread .setDaemon (true );//Let the process/application complete after timeout expired.
34
+ // Let the process/application complete after timeout expired.
35
+ thread .setDaemon (true );
35
36
thread .start ();
36
37
fTimeUnit .timedJoin (thread , fTimeout );
37
38
if (!thread .fFinished ) {
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ public void run5() throws IOException {
67
67
Random rnd = new Random ();
68
68
byte [] data = new byte [1024 ];
69
69
File tmp = tmpFile .newFile ();
70
- tmp .deleteOnExit ();
71
70
while (true ) {
72
71
FileChannel channel = new RandomAccessFile (tmp , "rw" ).getChannel ();
73
72
rnd .nextBytes (data );
You can’t perform that action at this time.
0 commit comments