remove goal equality condition for path splicing

This commit is contained in:
Leijurv 2018-12-03 13:40:38 -08:00
parent d058cbf501
commit eedf993d7a
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -71,9 +71,6 @@ public class SplicedPath extends PathBase {
if (second == null || first == null) {
return Optional.empty();
}
if (!first.getGoal().toString().equals(second.getGoal().toString())) {
return Optional.empty();
}
if (!first.getDest().equals(second.getSrc())) {
return Optional.empty();
}