common: Annotate some methods in ByteBuffer
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.ctf.core.tests / src / org / eclipse / tracecompass / ctf / core / tests / types / SequenceDeclaration2Test.java
index 7b2295848d47d3946c6cb218dcf922c7b4b8dd4f..8b38957827ebf3d3356ec25be19912f677f43d6e 100644 (file)
@@ -58,9 +58,6 @@ public class SequenceDeclaration2Test {
         fixture = new SequenceDeclaration(FIELD_NAME, StringDeclaration.getStringDeclaration(Encoding.UTF8));
         byte array[] = { 't', 'e', 's', 't', '\0', 't', 'h', 'i', 's', '\0' };
         ByteBuffer byb = ByteBuffer.wrap(array);
-        if (byb == null) {
-            throw new IllegalStateException("Failed to allocate memory");
-        }
         input = new BitBuffer(byb);
     }
 
This page took 0.037133 seconds and 5 git commands to generate.