Skip to content
Snippets Groups Projects
Commit 9bc7c20f authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

removed unnecessary if

parent 401b1018
No related branches found
No related tags found
No related merge requests found
......@@ -37,9 +37,7 @@ public class Traversor {
return;
}
if (!visitedStage.contains(stage)) {
visitedStage.add(stage);
} else {
if (!visitedStage.add(stage)) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment