Skip to content

Commit

Permalink
appease the checkstyle gods
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalwrench committed May 2, 2018
1 parent 1a6e0cd commit 88c3ce0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
@@ -1,5 +1,10 @@
package com.bugsnag.android;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;

Expand All @@ -11,11 +16,6 @@
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

@RunWith(AndroidJUnit4.class)
@SmallTest
public class ClientNotifyAsyncTest {
Expand Down Expand Up @@ -99,11 +99,13 @@ static class NullCheckClient extends ClientNotifyTest.FakeClient {

@Override
public void postReport(String urlString,
Report report, Map<String, String> headers) throws NetworkException, BadResponseException {
Report report,
Map<String, String> headers)
throws NetworkException, BadResponseException {
try {
nullCheckLatch.await(20, TimeUnit.MILLISECONDS);
} catch (InterruptedException e) {
e.printStackTrace();
} catch (InterruptedException exception) {
exception.printStackTrace();
}
super.postReport(urlString, report, headers);
}
Expand Down
@@ -1,9 +1,6 @@
package com.bugsnag.android;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
Expand Down

0 comments on commit 88c3ce0

Please sign in to comment.