Skip to content

Commit 6ce90db

Browse files
committed
deprecated APIs removed in v7
1 parent 9ef77c8 commit 6ce90db

8 files changed

+28
-0
lines changed

src/main/java/com/arangodb/ArangoDB.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,9 @@ default Boolean createDatabase(String name) throws ArangoDBException {
10581058
*
10591059
* @param cursorInitializer
10601060
* @return ArangoDB
1061+
* @deprecated for removal
10611062
*/
1063+
@Deprecated
10621064
ArangoDB _setCursorInitializer(ArangoCursorInitializer cursorInitializer);
10631065

10641066
}

src/main/java/com/arangodb/entity/CursorEntity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
* @author Mark Vollmary
3131
* @see <a href="https://www.arangodb.com/docs/stable/http/aql-query-cursor-accessing-cursors.html#create-cursor">API
3232
* Documentation</a>
33+
* @deprecated use accessors from {@link com.arangodb.ArangoCursor} instead
3334
*/
35+
@Deprecated
3436
public class CursorEntity implements Entity, MetaAware {
3537

3638
private String id;

src/main/java/com/arangodb/entity/Entity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222

2323
/**
2424
* @author Mark Vollmary
25+
* @deprecated for removal
2526
*/
27+
@Deprecated
2628
public interface Entity {
2729

2830
}

src/main/java/com/arangodb/model/DocumentExistsOptions.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,20 @@ public DocumentExistsOptions ifMatch(final String ifMatch) {
6464
return this;
6565
}
6666

67+
/**
68+
* @deprecated for removal
69+
*/
70+
@Deprecated
6771
public boolean isCatchException() {
6872
return catchException;
6973
}
7074

7175
/**
7276
* @param catchException whether or not catch possible thrown exceptions
7377
* @return options
78+
* @deprecated for removal
7479
*/
80+
@Deprecated
7581
public DocumentExistsOptions catchException(final boolean catchException) {
7682
this.catchException = catchException;
7783
return this;

src/main/java/com/arangodb/model/DocumentReadOptions.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,20 @@ public DocumentReadOptions ifMatch(final String ifMatch) {
6868
return this;
6969
}
7070

71+
/**
72+
* @deprecated for removal
73+
*/
74+
@Deprecated
7175
public boolean isCatchException() {
7276
return catchException;
7377
}
7478

7579
/**
7680
* @param catchException whether or not catch possible thrown exceptions
7781
* @return options
82+
* @deprecated for removal
7883
*/
84+
@Deprecated
7985
public DocumentReadOptions catchException(final boolean catchException) {
8086
this.catchException = catchException;
8187
return this;

src/main/java/com/arangodb/model/GraphDocumentReadOptions.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,20 @@ public GraphDocumentReadOptions ifMatch(final String ifMatch) {
6565
return this;
6666
}
6767

68+
/**
69+
* @deprecated for removal
70+
*/
71+
@Deprecated
6872
public boolean isCatchException() {
6973
return catchException;
7074
}
7175

7276
/**
7377
* @param catchException whether or not catch possible thrown exceptions
7478
* @return options
79+
* @deprecated for removal
7580
*/
81+
@Deprecated
7682
public GraphDocumentReadOptions catchException(final boolean catchException) {
7783
this.catchException = catchException;
7884
return this;

src/main/java/com/arangodb/util/ArangoCursorInitializer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727

2828
/**
2929
* @author Mark Vollmary
30+
* @deprecated for removal
3031
*/
32+
@Deprecated
3133
public interface ArangoCursorInitializer {
3234

3335
<T> ArangoCursor<T> createInstance(

src/main/java/com/arangodb/util/ArangoSerialization.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222

2323
/**
2424
* @author Mark Vollmary
25+
* @deprecated Use {@link com.arangodb.mapping.ArangoJack} instead and register custom serializers and deserializers by implementing {@link com.fasterxml.jackson.databind.JsonSerializer} and {@link com.fasterxml.jackson.databind.JsonDeserializer}.
2526
*/
27+
@Deprecated
2628
public interface ArangoSerialization extends ArangoSerializer, ArangoDeserializer {
2729

2830
}

0 commit comments

Comments
 (0)