tmf: Enforce existing sv types when reusing attributes
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 27 Apr 2012 15:45:08 +0000 (11:45 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 27 Apr 2012 15:45:08 +0000 (11:45 -0400)
commit7e0b2b56022c992c499d8abbe41385344db5cae8
tree7039439d11940bf6265c134ed8e60ca30d4d4074
parentae54340db036a88a8a842a8b3ece064cef47beaa
tmf: Enforce existing sv types when reusing attributes

Once we assign an Integer or String statevalue to an attribute, make
sure every subsequent modification keeps using statevalues of the
same type.

This is a new restriction that was not there before, but it makes
sense to add it to the design. It also helps to isolate problems
in the state provider.

Fixes Eclipse bug #375878

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/StateSystem.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/TransientState.java
This page took 0.024782 seconds and 5 git commands to generate.