changeset 35:7a152ea0e16a

Minor cleanup.
author shade
date Fri, 02 Aug 2013 02:29:33 +0400
parents 76567c910f2a
children b5caaed49020
files harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor1_Runner.java harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor2_Arbiter1_Runner.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor1_Runner.java	Fri Aug 02 02:26:51 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor1_Runner.java	Fri Aug 02 02:29:33 2013 +0400
@@ -65,7 +65,7 @@
     public void run() throws ExecutionException, InterruptedException {
         testLog.println("Running " + test.getClass().getName());
 
-        Status status = checkRun(test);
+        Status status = checkRun();
         if (status != Status.NORMAL) {
             testLog.println("Test sanity check failed, skipping");
             testLog.println();
@@ -94,7 +94,7 @@
     }
 
 
-    private <S, R> Status checkRun(Actor1_Test<S, R> test) {
+    private Status checkRun() {
         try {
             R res1 = test.newResult();
             S state = test.newState();
--- a/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor2_Arbiter1_Runner.java	Fri Aug 02 02:26:51 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor2_Arbiter1_Runner.java	Fri Aug 02 02:29:33 2013 +0400
@@ -57,7 +57,7 @@
     public void run() throws InterruptedException, ExecutionException {
         testLog.println("Running " + test.getClass().getName());
 
-        Status status = checkRun(test);
+        Status status = checkRun();
         if (status != Status.NORMAL) {
             testLog.println("Test sanity check failed, skipping");
             testLog.println();
@@ -86,7 +86,7 @@
         return 3;
     }
 
-    private <S, R> Status checkRun(Actor2_Arbiter1_Test<S, R> test) {
+    private Status checkRun() {
         try {
             R res = test.newResult();
             S state = test.newState();