Skip to content

Commit

Permalink
please work github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
CubBossa committed Jul 27, 2023
1 parent b352ec4 commit bb00b4a
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,13 +289,6 @@ public Map<UUID, Collection<Edge>> loadEdgesTo(Collection<UUID> end) {
return result;
}

public Optional<Edge> loadEdge(UUID start, UUID end) {
return create.selectFrom(PATHFINDER_EDGES)
.where(PATHFINDER_EDGES.END_ID.eq(end))
.and(PATHFINDER_EDGES.START_ID.eq(start))
.fetch(edgeMapper).stream().findAny();
}

private void saveEdge(DSLContext ctx, Edge edge) {
ctx.insertInto(PATHFINDER_EDGES)
.values(edge.getStart(), edge.getEnd(), edge.getWeight())
Expand Down

0 comments on commit bb00b4a

Please sign in to comment.