}
}
- private static @Nullable ITmfStateValue incrementByType(int quark, long timestamp, ITmfStateSystem ss, ITmfStateValue stateValue) throws AttributeNotFoundException {
+ private static @Nullable ITmfStateValue incrementByType(int quark, ITmfStateSystem ss, ITmfStateValue stateValue) throws AttributeNotFoundException {
ITmfStateValue value = null;
switch (stateValue.getType()) {
case LONG: {
if (ss == null) {
throw new IllegalStateException("The state system hasn't been initialized yet"); //$NON-NLS-1$
}
- ITmfStateValue value = incrementByType(quark, timestamp, ss, fValue);
+ ITmfStateValue value = incrementByType(quark, ss, fValue);
if (value != null) {
processValue(quark, timestamp, value);
} else {
throw new IllegalStateException("The state system hasn't been initialized yet"); //$NON-NLS-1$
}
ITmfStateValue incrementValue = getValue(event);
- ITmfStateValue value = incrementByType(quark, timestamp, ss, incrementValue);
+ ITmfStateValue value = incrementByType(quark, ss, incrementValue);
if (value != null) {
processValue(quark, timestamp, value);
} else {
Activator.logWarning("XML State value: request event name, but event is null"); //$NON-NLS-1$
return TmfStateValue.nullValue();
}
- return TmfStateValue.newValueString(event.getType().getName());
+ return TmfStateValue.newValueString(event.getName());
}
}
}
ITmfStateValue incrementValue = getValue(event);
- ITmfStateValue value = incrementByType(quark, timestamp, ss, incrementValue);
+ ITmfStateValue value = incrementByType(quark, ss, incrementValue);
if (value != null) {
processValue(quark, timestamp, value);
} else {