X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tmf%2Forg.eclipse.tracecompass.tmf.core%2Fsrc%2Forg%2Feclipse%2Ftracecompass%2Ftmf%2Fcore%2Fstatesystem%2FTmfAttributePool.java;h=ebc7ed76b0634d0ea42b54acdb580a8fde352d8d;hb=ed48dc75057206ed8992076bdfb1c3be1e74b2ff;hp=309a41ff868af2dba7ba50e6e9d358d87acba778;hpb=f42989ac25294353afe905f438759b167b4db10c;p=deliverable%2Ftracecompass.git diff --git a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/statesystem/TmfAttributePool.java b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/statesystem/TmfAttributePool.java index 309a41ff86..ebc7ed76b0 100644 --- a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/statesystem/TmfAttributePool.java +++ b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/statesystem/TmfAttributePool.java @@ -16,9 +16,7 @@ import java.util.Set; import java.util.TreeSet; import org.eclipse.jdt.annotation.Nullable; -import org.eclipse.tracecompass.internal.tmf.core.Activator; import org.eclipse.tracecompass.statesystem.core.ITmfStateSystemBuilder; -import org.eclipse.tracecompass.statesystem.core.exceptions.AttributeNotFoundException; /** * This class allows to recycle state system attributes. Instead of creating a @@ -137,11 +135,7 @@ public class TmfAttributePool { if (!fQuarksInUse.remove(quark)) { throw new IllegalArgumentException(); } - try { - fSs.removeAttribute(ts, quark); - } catch (AttributeNotFoundException e) { - Activator.logError("Error getting sub-attributes", e); //$NON-NLS-1$ - } + fSs.removeAttribute(ts, quark); fAvailableQuarks.add(quark); }