Skip to content

Commit

Permalink
ObstacleWorld: suppress unchecked warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nfi committed Nov 20, 2024
1 parent 2c06c02 commit c94ee74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java/org/contikios/mrm/ObstacleWorld.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class ObstacleWorld {

// All registered obstacles, with spatial information
private static final int spatialResolution = 10;
@SuppressWarnings("unchecked")
private final ArrayList<Rectangle2D>[][] allObstaclesSpatial = new ArrayList[spatialResolution][spatialResolution];
private boolean obstaclesOrganized;

Expand Down

0 comments on commit c94ee74

Please sign in to comment.