Permalink
Browse files

no #deleteOnExit, no inline comment, added space in comment

  • Loading branch information...
1 parent 7783b6a commit 78f5fa85b492353ad062f54d1f0ceec745537761 @Tibor17 committed Dec 11, 2012
@@ -31,7 +31,8 @@ public void evaluate() throws Throwable {
private StatementThread evaluateStatement() throws InterruptedException {
StatementThread thread = new StatementThread(fOriginalStatement);
- thread.setDaemon(true);//Let the process/application complete after timeout expired.
+ // Let the process/application complete after timeout expired.
+ thread.setDaemon(true);
thread.start();
fTimeUnit.timedJoin(thread, fTimeout);
if (!thread.fFinished) {
@@ -67,7 +67,6 @@ public void run5() throws IOException {
Random rnd = new Random();
byte[] data = new byte[1024];
File tmp = tmpFile.newFile();
- tmp.deleteOnExit();
while (true) {
FileChannel channel = new RandomAccessFile(tmp, "rw").getChannel();
rnd.nextBytes(data);

0 comments on commit 78f5fa8

Please sign in to comment.