Skip to content

Commit

Permalink
CLCommandQueueTest: Remove warning ..
Browse files Browse the repository at this point in the history
  • Loading branch information
sgothel committed Jun 25, 2013
1 parent b7e0e6e commit 8bcfb75
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/com/jogamp/opencl/CLCommandQueueTest.java
Expand Up @@ -59,8 +59,9 @@
*/
public class CLCommandQueueTest {

@SuppressWarnings("deprecation")
@Rule
public MethodRule methodTimeout= new Timeout(20000);
public MethodRule methodTimeout= (MethodRule) new Timeout(20000);

@Test
public void enumsTest() {
Expand Down Expand Up @@ -499,7 +500,9 @@ public void run() {
checkIfEqual(clBufferC.buffer, clBufferD.buffer, elements);
out.println("results are valid");

}finally{
} catch (Throwable t ) {
t.printStackTrace();
} finally {
context.release();
}

Expand Down

0 comments on commit 8bcfb75

Please sign in to comment.