Changes to be committed:
modified: be-graphes-model/src/main/java/org/insa/graphs/model/Path.java
This commit is contained in:
parent
3651cfadd2
commit
376fe2fc56
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ public class Path {
|
||||||
else {
|
else {
|
||||||
Node origine = this.getOrigin();
|
Node origine = this.getOrigin();
|
||||||
for (Arc arc : this.arcs) {
|
for (Arc arc : this.arcs) {
|
||||||
if (!origine.equals(arc.getOrigin())) {
|
if (origine != arc.getOrigin()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
origine = arc.getDestination();
|
origine = arc.getDestination();
|
||||||
|
|
Loading…
Reference in a new issue