Skip to content

Commit b07d5ae

Browse files
committed
Merge branch 'main' of github.com:VariantSync/DiffDetective into main
2 parents c9d0e5d + 208cd35 commit b07d5ae

6 files changed

Lines changed: 18 additions & 10 deletions

File tree

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717

1818
<build>
1919
<plugins>
20+
<plugin>
21+
<groupId>org.apache.maven.plugins</groupId>
22+
<artifactId>maven-javadoc-plugin</artifactId>
23+
<version>3.4.0</version>
24+
<configuration>
25+
<reportOutputDirectory>docs</reportOutputDirectory>
26+
<destDir>javadoc</destDir>
27+
</configuration>
28+
</plugin>
2029
<plugin>
2130
<groupId>org.apache.maven.plugins</groupId>
2231
<artifactId>maven-compiler-plugin</artifactId>

src/main/java/org/variantsync/diffdetective/datasets/Repository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Repository(
9292
/**
9393
* Creates a repository from an existing directory.
9494
*
95-
* @param dirPath The path to the repo directory relative to <WORKING_DIRECTORY>/repositories
95+
* @param dirPath The path to the repo directory relative to {@code <WORKING_DIRECTORY>/repositories}
9696
* @param repoName A name for the repository (currently not used)
9797
* @return A repository from an existing directory
9898
*/
@@ -107,7 +107,7 @@ public static Repository fromDirectory(Path dirPath, String repoName) {
107107
/**
108108
* Creates a repository from a local zip file.
109109
*
110-
* @param filePath The path to the zip file (absolute or relative to <WORKING_DIRECTORY>).
110+
* @param filePath The path to the zip file (absolute or relative to {@code <WORKING_DIRECTORY>}).
111111
* @param repoName A name for the repository (currently not used)
112112
* @return A repository from a local zip file
113113
*/

src/main/java/org/variantsync/diffdetective/diff/GitDiffer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,7 @@ public static CommitDiffResult createCommitDiff(
238238
*
239239
* @param git The git repo which the commit stems from
240240
* @param commit The commit which the working tree is compared with
241-
* @param keepFullDiffs If true, the PatchDiff will contain the full diff as a string. Set to false if you want to
242-
* reduce memory consumption
241+
* @param parseOptions {@link ParseOptions}
243242
* @return The CommitDiff of the given commit
244243
*/
245244
public static CommitDiffResult createWorkingTreeDiff(

src/main/java/org/variantsync/diffdetective/diff/difftree/DiffGraph.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static boolean hasNoParents(final DiffNode node) {
1212
}
1313

1414
/**
15-
* Invokes {@link DiffGraph::fromNodes(Collection<DiffNode>)} with an unknown DiffTreeSource.
15+
* Invokes {@link DiffGraph#fromNodes(Collection<DiffNode>)} with an unknown DiffTreeSource.
1616
*/
1717
public static DiffTree fromNodes(final Collection<DiffNode> nodes) {
1818
return fromNodes(nodes, DiffTreeSource.Unknown);
@@ -24,7 +24,7 @@ public static DiffTree fromNodes(final Collection<DiffNode> nodes) {
2424
* @param nodes a DiffGraph
2525
* @param source the source where the DiffGraph came from.
2626
* @return A DiffTree representing the DiffGraph with a synthetic root node.
27-
* see DiffGraph.fromNodes(Collection<DiffNode>)
27+
* @see DiffGraph#fromNodes(Collection<DiffNode>)
2828
*/
2929
public static DiffTree fromNodes(final Collection<DiffNode> nodes, final DiffTreeSource source) {
3030
final DiffNode newRoot = DiffNode.createRoot();

src/main/java/org/variantsync/diffdetective/mining/postprocessing/MiningPostprocessing.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static void main(String[] args) throws IOException {
8080
* non-recursive
8181
* @param path A path to a linegraph file or a directory containing linegraph files.
8282
* @return The list of all diffgraphs parsed from linegraph files in the given directory.
83-
* @throws IOException If the directory could not be accessed ({@link Files::list}).
83+
* @throws IOException If the directory could not be accessed ({@link Files#list}).
8484
*/
8585
public static List<DiffTree> parseFrequentSubgraphsIn(final Path path) throws IOException {
8686
if (Files.isDirectory(path)) {

src/main/java/org/variantsync/diffdetective/util/fide/FixTrueFalse.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ public class FixTrueFalse {
2828

2929
/**
3030
* @return True iff the given formula is a true literal.
31-
* @see FixTrueFalse::isTrueLiteral
31+
* @see FixTrueFalse#isTrueLiteral
3232
*/
3333
public static boolean isTrue(final Node n) {
3434
return n instanceof Literal l && isTrueLiteral(l);
3535
}
3636

3737
/**
3838
* @return True iff the given formula is a false literal.
39-
* @see FixTrueFalse::isFalseLiteral
39+
* @see FixTrueFalse#isFalseLiteral
4040
*/
4141
public static boolean isFalse(final Node n) {
4242
return n instanceof Literal l && isFalseLiteral(l);
@@ -77,7 +77,7 @@ private static <T> boolean contains(T[] ts, Predicate<T> elem) {
7777

7878
/**
7979
* Replaces all literals in the given `formula` with the literals True and False that
80-
* represent the respective atomic values w.r.t. FixTrueFalse::isTrueLiteral and FixTrueFalse::isFalseLiteral.
80+
* represent the respective atomic values w.r.t. FixTrueFalse.isTrueLiteral and FixTrueFalse.isFalseLiteral.
8181
* This e.g. includes replacing literals representing variables with name "1" or "true" with the respective constants.
8282
* Returns a formula in which the values True and False are eliminated.
8383
* So you either get True, False, or a formula that does not contain any True or False value.

0 commit comments

Comments
 (0)