Skip to content

Commit

Permalink
fix javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs1998 committed Jun 24, 2022
1 parent 8d6186e commit 1f0aca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/alexjs/dag/Dag.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public interface Dag<T> extends Collection<T>, Cloneable, Serializable {

/**
* Adds a {@code source} -> {@code target} node relationship to this DAG.
* Adds a {@code source} to {@code target} node relationship to this DAG.
* If either node is not already in the graph, then it will be added.
*
* @param source the source node
Expand All @@ -24,7 +24,7 @@ public interface Dag<T> extends Collection<T>, Cloneable, Serializable {
boolean put(T source, T target);

/**
* Adds many {@code source} -> {@code target} node relationships to this DAG.
* Adds many {@code source} to {@code target} node relationships to this DAG.
* If the source node or any of its target nodes are not already in the graph, then they will be added.
*
* @param source the source node
Expand Down

0 comments on commit 1f0aca2

Please sign in to comment.