Make OffsetMaps work on direct values
[yangtools.git] / common / util / src / test / java / org / opendaylight / yangtools / util / OffsetMapTest.java
index 5aef8d12c30f1b6f7495e346784d8f9425b34b44..289c133842a522fb829a8f3f5c1d82eb56474069 100644 (file)
@@ -42,7 +42,7 @@ public class OffsetMapTest {
 
     @Test(expected=IllegalArgumentException.class)
     public void testWrongImmutableConstruction() {
-        new ImmutableOffsetMap<String, String>(Collections.<String, Integer>emptyMap(), new Object[1]);
+        new ImmutableOffsetMap<String, String>(Collections.<String, Integer>emptyMap(), new String[1]);
     }
 
     @Test