mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-06 19:11:10 +01:00
Fix minor codestyle issues
This commit is contained in:
parent
200f90ffdc
commit
cb18056613
422 changed files with 1404 additions and 1444 deletions
|
|
@ -20,7 +20,6 @@ import static org.junit.Assert.assertEquals;
|
|||
|
||||
import java.util.concurrent.BrokenBarrierException;
|
||||
import java.util.concurrent.CyclicBarrier;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
|
||||
import org.jivesoftware.smack.util.Async;
|
||||
|
||||
|
|
@ -29,7 +28,7 @@ import org.junit.Test;
|
|||
public class ResultSyncPointTest {
|
||||
|
||||
@Test
|
||||
public void testResultSyncPoint() throws InterruptedException, TimeoutException, Exception {
|
||||
public void testResultSyncPoint() throws Exception {
|
||||
final String result = "Hip Hip Hurrary!!111!";
|
||||
final CyclicBarrier barrier = new CyclicBarrier(2);
|
||||
final ResultSyncPoint<String, Exception> rsp = new ResultSyncPoint<>();
|
||||
|
|
@ -46,7 +45,7 @@ public class ResultSyncPointTest {
|
|||
}
|
||||
|
||||
@Test(expected = TestException.class)
|
||||
public void exceptionTestResultSyncPoint() throws InterruptedException, TimeoutException, Exception {
|
||||
public void exceptionTestResultSyncPoint() throws Exception {
|
||||
final CyclicBarrier barrier = new CyclicBarrier(2);
|
||||
final ResultSyncPoint<String, TestException> rsp = new ResultSyncPoint<>();
|
||||
Async.go(new Async.ThrowingRunnable() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue