System updates are being installed. You can continue using GitLab, but it may be unavailable for some minutes during the updates.

Commit caff4ed7 authored by Benedikt Zoennchen's avatar Benedikt Zoennchen

Merge branch 'develop' of https://gitlab.lrz.de/vadere/vadere into develop

parents 941c94cd 024057fa
Pipeline #61099 passed with stage
in 49 seconds
......@@ -8,9 +8,7 @@ public abstract class ScenarioElement {
public abstract VShape getShape();
public void setShape(VShape newShape) {
throw new UnsupportedOperationException("This concrete scenario element does not support setting the shape.");
}
public abstract void setShape(VShape newShape);
public abstract int getId();
......
......@@ -28,6 +28,11 @@ public class Teleporter extends ScenarioElement {
throw new UnsupportedOperationException("A teleporter does not have a shape.");
}
@Override
public void setShape(VShape newShape) {
throw new UnsupportedOperationException("A teleporter does not have a shape.");
}
@Override
public int getId() {
return -1;
......
......@@ -97,7 +97,7 @@ public class TestPolygon {
// print evaluated grid
String g2string = GeometryPrinter.grid2string(grid);
IOUtils.printDataFile(Paths.get("testreports", "test_polygon2d_closestPoint"),
IOUtils.printDataFile(Paths.get("testreports", "test_polygon2d_closestPoint.txt"),
g2string);
}
......
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