File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/main/java/org/variantsync/diffdetective/variation/tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 4141 */
4242public class VariationTree <L extends Label > implements Source {
4343 private final VariationTreeNode <L > root ;
44- private final Source source ;
44+ private Source source ;
4545
4646 /** Creates a {@code VariationTree} with the given root and an {@link Source#Unknown unknown} source. */
4747 public VariationTree (VariationTreeNode <L > root ) {
@@ -237,6 +237,14 @@ public VariationTreeNode<L> root() {
237237 return root ;
238238 }
239239
240+ /**
241+ * Sets the source of this VariationTree.
242+ * @see Source
243+ */
244+ public void setSource (final Source source ) {
245+ this .source = source ;
246+ }
247+
240248 /**
241249 * Returns the source of this VariationTree (i.e., the data this VariationTree was created from).
242250 * @see Source
You can’t perform that action at this time.
0 commit comments