diff --git a/java/org/contikios/mrm/ObstacleWorld.java b/java/org/contikios/mrm/ObstacleWorld.java index 2ffbe2e4f..cea207c7c 100644 --- a/java/org/contikios/mrm/ObstacleWorld.java +++ b/java/org/contikios/mrm/ObstacleWorld.java @@ -55,6 +55,7 @@ class ObstacleWorld { // All registered obstacles, with spatial information private static final int spatialResolution = 10; + @SuppressWarnings("unchecked") private final ArrayList[][] allObstaclesSpatial = new ArrayList[spatialResolution][spatialResolution]; private boolean obstaclesOrganized;