Skip to content

Commit 3b34c2b

Browse files
committed
feat: fix compile issue
Signed-off-by: Otavio Santana <[email protected]>
1 parent c2e8337 commit 3b34c2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/DefaultTinkerpopGraphDatabaseManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,11 @@ public void remove(CommunicationEntity source, String label, CommunicationEntity
200200

201201
Vertex sourceVertex = findVertexById(source.find(ID_PROPERTY)
202202
.orElseThrow(() -> new CommunicationException("Source entity must have an ID")))
203-
.orElseThrow(() -> new EmptyResultException("Source entity not found")));
203+
.orElseThrow(() -> new EmptyResultException("Source entity not found"));
204204

205205
Vertex targetVertex = findVertexById(target.find(ID_PROPERTY)
206206
.orElseThrow(() -> new CommunicationException("Target entity must have an ID")))
207-
.orElseThrow(() -> new EmptyResultException("Target entity not found")));
207+
.orElseThrow(() -> new EmptyResultException("Target entity not found"));
208208

209209
Iterator<Edge> edges = sourceVertex.edges(Direction.OUT, label);
210210
while (edges.hasNext()) {

0 commit comments

Comments
 (0)