common: Annotate some methods in ByteBuffer
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.ctf.core.tests / src / org / eclipse / tracecompass / ctf / core / tests / types / StringDeclarationTest.java
index 701672c8303d8b09b127f859eda7c2305777bc91..641a54156163648bc97a8dab34271cbf81cf66e5 100644 (file)
@@ -82,9 +82,6 @@ public class StringDeclarationTest {
         IDefinitionScope definitionScope = null;
         String fieldName = "id";
         ByteBuffer allocate = ByteBuffer.allocate(100);
-        if (allocate == null) {
-            throw new IllegalStateException("Failed to allocate memory");
-        }
         BitBuffer bb = new BitBuffer(allocate);
         StringDefinition result = fixture.createDefinition(definitionScope,
                 fieldName, bb);
This page took 0.024813 seconds and 5 git commands to generate.