Skip to content

Commit 68e3e2c

Browse files
committed
feat: include varargs
Signed-off-by: Otavio Santana <[email protected]>
1 parent 7c41a91 commit 68e3e2c

File tree

1 file changed

+2
-0
lines changed
  • jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/mapping

1 file changed

+2
-0
lines changed

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/mapping/GraphTemplate.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ default <O, I> EdgeEntity edge(O outgoing, Supplier<String> label, I incoming) {
131131
* @return the Edges
132132
* @throws NullPointerException where there is any parameter null
133133
*/
134+
@SuppressWarnings("unchecked")
134135
<K> Collection<EdgeEntity> edgesById(K id, Direction direction, Supplier<String>... labels);
135136

136137
/**
@@ -166,6 +167,7 @@ default <O, I> EdgeEntity edge(O outgoing, Supplier<String> label, I incoming) {
166167
* @return the Edges
167168
* @throws NullPointerException where there is any parameter null
168169
*/
170+
@SuppressWarnings("unchecked")
169171
<T> Collection<EdgeEntity> edges(T entity, Direction direction, Supplier<String>... labels);
170172

171173
/**

0 commit comments

Comments
 (0)