File tree Expand file tree Collapse file tree
src/main/java/org/variantsync/diffdetective/variation/diff/source Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 * Source for VariationDiffs that were created from a patch given as a String.
77 * @param getDiff The patch as a String.
88 */
9- public record PatchString (String getDiff ) implements TextBasedDiff , VariationDiffSource { }
9+ public record PatchString (String getDiff ) implements TextBasedDiff , VariationDiffSource {
10+ @ Override
11+ public String toString () {
12+ return "from line-based diff " + getDiff ;
13+ }
14+ }
Original file line number Diff line number Diff line change @@ -11,4 +11,8 @@ public record VariationTreeDiffSource(
1111 VariationTreeSource before ,
1212 VariationTreeSource after
1313) implements VariationDiffSource {
14+ @ Override
15+ public String toString () {
16+ return "from trees [" + before + "] and [" + after + "]" ;
17+ }
1418}
You can’t perform that action at this time.
0 commit comments