Skip to content

Commit 1f0aca2

Browse files
committed
fix javadoc
1 parent 8d6186e commit 1f0aca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/me/alexjs/dag/Dag.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
public interface Dag<T> extends Collection<T>, Cloneable, Serializable {
1515

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

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

0 commit comments

Comments
 (0)