ctf: make BitBuffer's ByteBuffer final
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 18 Jun 2014 13:05:15 +0000 (09:05 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 25 Jun 2014 20:09:41 +0000 (16:09 -0400)
commit733c614c7676fe1b0c3bab7d58eeded5e17b158f
tree2c13fdbbfcd56d32b5e23cac708937f38060757a
parentd48661f2f1dfc02caf1a90b979bb423d8f899398
ctf: make BitBuffer's ByteBuffer final

No more chances of someone swapping it while you're reading.
Remove an unnecessary alignment issue and add a proper byteorder check.

Change-Id: I344ed316489918dc0751c09c464fada3d4ac02ab
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/28681
Tested-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/io/BitBufferIntTest.java
org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/io/BitBufferTest.java
org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/types/FloatDefinitionTest.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/io/BitBuffer.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/FloatDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/IntegerDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFStreamInput.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFStreamInputPacketReader.java
This page took 0.026006 seconds and 5 git commands to generate.