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