}
/**
- * Run the boolean majortIsSet() method test.
+ * Run the boolean majorIsSet() method test.
*/
@Test
- public void testMajortIsSet() {
- boolean result = fixture.majortIsSet();
+ public void testMajorIsSet() {
+ boolean result = fixture.majorIsSet();
assertTrue(result);
}
}
/**
- * Method majortIsSet is the major version number set?
+ * Method majorIsSet is the major version number set?
*
* @return boolean is the major set?
*/
- public boolean majortIsSet() {
+ public boolean majorIsSet() {
return major != null;
}
* @param eventType
* The type of events that will be read from this trace
* @throws TmfTraceException
- * If something when wrong while reading the trace
+ * If something went wrong while reading the trace
*/
@Override
public void initTrace(final IResource resource, final String path, final Class<? extends ITmfEvent> eventType)
IStatus validTrace = Status.OK_STATUS;
try {
final CTFTrace temp = new CTFTrace(path);
- if (!temp.majortIsSet()) {
+ if (!temp.majorIsSet()) {
validTrace = new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.CtfTmfTrace_MajorNotSet);
} else {
CTFTraceReader ctfTraceReader = new CTFTraceReader(temp);