ss: Add @NonNull to attribute name-getting methods
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 20 Mar 2015 19:09:09 +0000 (15:09 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 23 Mar 2015 16:56:01 +0000 (12:56 -0400)
commit04927a83c26022d575f60d3941d282b30efed14c
treeeab856946a626ae7b48b595f36f62fe53fc85863
parent572a949fac72d9b7330d13e3b2c29d53da34caac
ss: Add @NonNull to attribute name-getting methods

If the quark is valid, its name and full path can never be null.

This removes a check in AttributeTree that would return null on failure.
Instead, let it throw an ArrayOutOfBoundsException if the quark is
invalid, like many other methods in that class already do.

Change-Id: I384ff8be26f003d684c9f9170cba2d155ed3c08e
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/44281
Reviewed-by: Hudson CI
org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/cpuusage/KernelCpuUsageAnalysis.java
org.eclipse.tracecompass.statesystem.core/META-INF/MANIFEST.MF
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/Attribute.java
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/AttributeTree.java
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/ITmfStateSystem.java
org.eclipse.tracecompass.tmf.analysis.xml.ui/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/ui/views/xychart/XmlXYViewer.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/aspect/TmfStateSystemAspect.java
This page took 0.028725 seconds and 5 git commands to generate.