Skip to content

Commit e855e58

Browse files
committed
fix: Typos in VariationDiff and TreeView Javadoc
1 parent 467a523 commit e855e58

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/variantsync/diffdetective/variation/diff/VariationDiff.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public static <L extends Label> VariationDiff<L> fromTrees(VariationTree<L> befo
207207
* The returned value is a deep copy of the variation tree within this diff
208208
* at the given time.
209209
* If you instead wish to only have a view on the tree at the given diff
210-
* have a look at {@link DiffNode#projection(Time)} for this trees {@link #getRoot() root}.
210+
* have a look at {@link DiffNode#projection(Time)} for this tree's {@link #getRoot() root}.
211211
* @param t The time for which to project the variation tree.
212212
*/
213213
public VariationTree<L> project(Time t) {

src/main/java/org/variantsync/diffdetective/variation/tree/view/TreeView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static <L extends Label> void treeInline(final VariationTree<L> t, final
6161
/**
6262
* Creates a view on the given variation tree as described by the given relevance predicate.
6363
* This function is side-effect free.
64-
* Thre given variation tree and relevance will not be altered.
64+
* The given variation tree and relevance will not be altered.
6565
* This function corresponds to Equation 4 in our SPLC'23 paper - Views on Edits to Variational Software.
6666
* @param t The variation tree to generate a view on.
6767
* @param r A relevance predicate that determines for each node in the

0 commit comments

Comments
 (0)