Add method to get attributes with a wildcard in the path
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / statesystem / AttributeTree.java
index 9c5d8fcb63b1810e37ea616013cd3e1a1e220874..6ed942816d36f5461bd5c9066713fdeb1be447fb 100644 (file)
@@ -295,7 +295,7 @@ final class AttributeTree {
         Attribute startingAttribute;
 
         /* Check if the quark is valid */
-        if (attributeQuark < 0 || attributeQuark >= attributeList.size()) {
+        if (attributeQuark < -1 || attributeQuark >= attributeList.size()) {
             throw new AttributeNotFoundException();
         }
 
This page took 0.024752 seconds and 5 git commands to generate.