fEventDeclaration = declaration;
fSourceCPU = cpu;
- fTypeId = declaration.getId();
+ fTypeId = declaration.getId().longValue();
fEventName = declaration.getName();
fEvent = eventDefinition;
if (structFields != null) {
if (structFields.getFieldNames() != null) {
for (String curFieldName : structFields.getFieldNames()) {
- fields.add(CtfTmfEventField.parseField((IDefinition)structFields.getDefinition(curFieldName), curFieldName));
+ fields.add(CtfTmfEventField.parseField((IDefinition) structFields.getDefinition(curFieldName), curFieldName));
}
}
}
for (String contextName : structContext.getFieldNames()) {
/* Prefix field name */
String curContextName = CtfConstants.CONTEXT_FIELD_PREFIX + contextName;
- fields.add(CtfTmfEventField.parseField((IDefinition)structContext.getDefinition(contextName), curContextName));
+ fields.add(CtfTmfEventField.parseField((IDefinition) structContext.getDefinition(contextName), curContextName));
}
}