Skip to content

Commit 56b6f99

Browse files
author
Achim Brandt
committed
organize imports
1 parent 62272d9 commit 56b6f99

28 files changed

+83
-159
lines changed

src/test/java/com/arangodb/ArangoBaseParameterTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.arangodb;
22

33
import static org.hamcrest.CoreMatchers.is;
4-
import static org.hamcrest.CoreMatchers.not;
54
import static org.hamcrest.Matchers.nullValue;
65
import static org.junit.Assert.assertThat;
76

src/test/java/com/arangodb/ArangoConfigureTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,9 @@
2525

2626
import java.net.SocketTimeoutException;
2727

28-
import org.apache.http.conn.ConnectTimeoutException;
2928
import org.junit.Ignore;
3029
import org.junit.Test;
3130

32-
import com.arangodb.ArangoConfigure;
33-
import com.arangodb.ArangoDriver;
34-
import com.arangodb.ArangoException;
35-
3631
/**
3732
* UnitTest for ArangoConfigure.
3833
*

src/test/java/com/arangodb/ArangoDriverAdminTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626

2727
import org.junit.Test;
2828

29-
import com.arangodb.ArangoConfigure;
30-
import com.arangodb.ArangoDriver;
31-
import com.arangodb.ArangoException;
3229
import com.arangodb.entity.AdminLogEntity;
3330
import com.arangodb.entity.ArangoUnixTime;
3431
import com.arangodb.entity.ArangoVersion;

src/test/java/com/arangodb/ArangoDriverAqlfunctionsTest.java

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,20 @@
1616

1717
package com.arangodb;
1818

19+
import static org.hamcrest.CoreMatchers.is;
20+
import static org.junit.Assert.assertFalse;
21+
import static org.junit.Assert.assertThat;
22+
import static org.junit.Assert.assertTrue;
23+
24+
import java.util.Iterator;
25+
1926
import org.junit.After;
2027
import org.junit.Before;
21-
import org.junit.BeforeClass;
2228
import org.junit.Test;
2329

24-
import com.arangodb.ArangoConfigure;
25-
import com.arangodb.ArangoDriver;
26-
import com.arangodb.ArangoException;
2730
import com.arangodb.entity.AqlFunctionsEntity;
2831
import com.arangodb.entity.DefaultEntity;
2932

30-
import java.util.Iterator;
31-
32-
import static org.hamcrest.CoreMatchers.is;
33-
import static org.junit.Assert.*;
34-
3533
/**
3634
* @author tamtam180 - kirscheless at gmail.com
3735
*

src/test/java/com/arangodb/ArangoDriverAsyncTest.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,23 @@
1616

1717
package com.arangodb;
1818

19-
import com.arangodb.entity.*;
20-
import org.junit.After;
21-
import org.junit.Before;
22-
import org.junit.Test;
19+
import static org.hamcrest.CoreMatchers.is;
20+
import static org.junit.Assert.assertNotNull;
21+
import static org.junit.Assert.assertThat;
22+
import static org.junit.Assert.assertTrue;
2323

2424
import java.util.ArrayList;
2525
import java.util.Iterator;
2626
import java.util.List;
2727

28-
import static org.hamcrest.CoreMatchers.is;
29-
import static org.hamcrest.CoreMatchers.not;
30-
import static org.junit.Assert.assertNotNull;
31-
import static org.junit.Assert.assertThat;
32-
import static org.junit.Assert.assertTrue;
28+
import org.junit.After;
29+
import org.junit.Before;
30+
import org.junit.Test;
31+
32+
import com.arangodb.entity.AqlFunctionsEntity;
33+
import com.arangodb.entity.DefaultEntity;
34+
import com.arangodb.entity.DocumentEntity;
35+
import com.arangodb.entity.JobsEntity;
3336

3437
/**
3538
* @author tamtam180 - kirscheless at gmail.com

src/test/java/com/arangodb/ArangoDriverAuthTest.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@
1616

1717
package com.arangodb;
1818

19-
import static org.hamcrest.Matchers.*;
20-
import static org.junit.Assert.*;
19+
import static org.hamcrest.Matchers.containsString;
20+
import static org.hamcrest.Matchers.is;
21+
import static org.junit.Assert.assertThat;
22+
import static org.junit.Assert.fail;
2123

2224
import org.junit.Test;
2325

24-
import com.arangodb.ArangoConfigure;
25-
import com.arangodb.ArangoDriver;
26-
import com.arangodb.ArangoException;
2726
import com.arangodb.entity.ArangoUnixTime;
2827

2928
/**

src/test/java/com/arangodb/ArangoDriverBatchTest.java

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,19 @@
1616

1717
package com.arangodb;
1818

19+
import static org.hamcrest.CoreMatchers.is;
20+
import static org.junit.Assert.assertThat;
21+
22+
import java.util.List;
23+
1924
import org.junit.After;
2025
import org.junit.Before;
21-
import org.junit.Ignore;
2226
import org.junit.Test;
2327

24-
import com.arangodb.ArangoConfigure;
25-
import com.arangodb.ArangoDriver;
26-
import com.arangodb.ArangoException;
27-
import com.arangodb.entity.*;
28-
29-
import java.util.Iterator;
30-
import java.util.List;
31-
32-
import static org.hamcrest.CoreMatchers.is;
33-
import static org.junit.Assert.*;
28+
import com.arangodb.entity.AqlFunctionsEntity;
29+
import com.arangodb.entity.BaseEntity;
30+
import com.arangodb.entity.DefaultEntity;
31+
import com.arangodb.entity.DocumentEntity;
3432

3533
/**
3634
* @author tamtam180 - kirscheless at gmail.com

src/test/java/com/arangodb/ArangoDriverCollectionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public void test_create_dup() throws ArangoException {
231231

232232
{
233233
try {
234-
CollectionEntity res = driver.createCollection(collectionName);
234+
driver.createCollection(collectionName);
235235
fail("ここに来てはダメー!");
236236
} catch (ArangoException e) {
237237
assertThat(e.getCode(), is(409));

src/test/java/com/arangodb/ArangoDriverCursorResultSetTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@
2424
import org.junit.Before;
2525
import org.junit.Test;
2626

27-
import com.arangodb.ArangoConfigure;
28-
import com.arangodb.ArangoDriver;
29-
import com.arangodb.ArangoException;
30-
import com.arangodb.CursorResultSet;
3127
import com.arangodb.util.MapBuilder;
3228

3329
/**

src/test/java/com/arangodb/ArangoDriverCursorTest.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,16 @@
1616

1717
package com.arangodb;
1818

19-
import static org.hamcrest.Matchers.*;
20-
import static org.junit.Assert.*;
19+
import static org.hamcrest.Matchers.is;
20+
import static org.hamcrest.Matchers.not;
21+
import static org.junit.Assert.assertFalse;
22+
import static org.junit.Assert.assertThat;
2123

2224
import java.util.Map;
2325

2426
import org.junit.Ignore;
2527
import org.junit.Test;
2628

27-
import com.arangodb.ArangoConfigure;
28-
import com.arangodb.ArangoDriver;
29-
import com.arangodb.ArangoException;
3029
import com.arangodb.entity.CursorEntity;
3130
import com.arangodb.entity.DefaultEntity;
3231
import com.arangodb.util.MapBuilder;

0 commit comments

Comments
 (0)