ctf: Improve int decoding in IOStructGen
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 3 Dec 2013 21:41:41 +0000 (16:41 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 4 Dec 2013 12:11:54 +0000 (07:11 -0500)
commitab98db9aeab2186fab7b1c552cb1262550da9146
tree4b58332c6f4d82065301175eb327f463be49255b
parentcf9a28dad5c4aa68903345439f9466407a3cd666
ctf: Improve int decoding in IOStructGen

Now handles "0x10" and "010" better, by using Long.decode() instead of
Long.parseLong().

Change-Id: I25d9cd239063674d52a73f00b3f4af90e1ddff33
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/19272
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/internal/ctf/core/event/metadata/IOStructGen.java
This page took 0.081214 seconds and 5 git commands to generate.