common: Annotate some methods in ByteBuffer
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.ctf.core.tests / src / org / eclipse / tracecompass / ctf / core / tests / types / StringDefinitionTest.java
index ed77cbe5ed719edbc2acbe42a6efaad9309d4f76..ec87f9f4f270e7b6f9030047af6da59bfe9888c1 100644 (file)
@@ -48,9 +48,6 @@ public class StringDefinitionTest {
         String name = "testString";
         StringDeclaration stringDec = StringDeclaration.getStringDeclaration(Encoding.UTF8);
         ByteBuffer byteBuffer = ByteBuffer.allocate(100);
-        if (byteBuffer == null) {
-            throw new IllegalStateException("Failed to allocate memory");
-        }
         BitBuffer bb = new BitBuffer(byteBuffer);
         byteBuffer.mark();
         testString = new String("testString");
This page took 0.024223 seconds and 5 git commands to generate.