Commit 491a064f authored by Hengwen Zhang's avatar Hengwen Zhang
Browse files

Remove # constraint on PathGoal

parent eccf9c7a
...@@ -18,9 +18,6 @@ public class Task { ...@@ -18,9 +18,6 @@ public class Task {
} }
public void addGoal(Goal goal) { public void addGoal(Goal goal) {
if (goal instanceof PathGoal && getPathGoals().size() > 0){
throw new RuntimeException("Only one path goal per task is allowed");
}
goals.add(goal); goals.add(goal);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment