Skip to content

Commit a198a89

Browse files
committed
Patch Gumtree to add MappingStore.assertConsistency
The CompositeMatchers.XyMatcher algorithm adds incompatible matchings for nodes which already have a matching. As this is the fastest matcher, it's useful to test it further. Thus, incompatible matchings are ignored and a debug message is printed. For example, given a matching between A and B | src -> dst | dst -> src | |------------|------------| | A -> B | B -> A | When the incompatible matching between B and C is added, the result is: | src -> dst | dst -> src | |------------|------------| | A -> B | | | C -> B | B -> C | Thus the matching between B and C is ignored if XyMatcher tries to add it.
1 parent 1755785 commit a198a89

31 files changed

+135
-11
lines changed
34.5 KB
Binary file not shown.
249 KB
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1a35e5613da6eac9bbf2eefcc5de5559
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4b809dba134db1e6dd604046cb8b29d1d4234c6e
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.github.gumtreediff</groupId>
6+
<artifactId>client</artifactId>
7+
<version>3.1.0-SNAPSHOT</version>
8+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6e527f17def9837cec885c57e350ec4a
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6b88766be14dc630adf2803860ef0b2825cac141
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<metadata modelVersion="1.1.0">
3+
<groupId>com.github.gumtreediff</groupId>
4+
<artifactId>client</artifactId>
5+
<versioning>
6+
<lastUpdated>20230321174509</lastUpdated>
7+
<snapshot>
8+
<timestamp>20230321.174509</timestamp>
9+
<buildNumber>1</buildNumber>
10+
</snapshot>
11+
<snapshotVersions>
12+
<snapshotVersion>
13+
<extension>jar</extension>
14+
<value>3.1.0-20230321.174509-1</value>
15+
<updated>20230321174509</updated>
16+
</snapshotVersion>
17+
<snapshotVersion>
18+
<extension>pom</extension>
19+
<value>3.1.0-20230321.174509-1</value>
20+
<updated>20230321174509</updated>
21+
</snapshotVersion>
22+
</snapshotVersions>
23+
</versioning>
24+
<version>3.1.0-SNAPSHOT</version>
25+
</metadata>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bafdfc934e042edbe35a88c8c07862a1

0 commit comments

Comments
 (0)