DESCRIPTION

TMF: Validate new trace type before setting it

Also change the return type of TraceTypeHelper#validate to return an IStatus
instead. This patch fixes bug #431646

Change-Id: I893ade44645f92dfe231cb603e16e6fbf17209eb
Signed-off-by: Aryana Jones xxx@xxx.xxx


COMMENTS

author: Annalise Jimenez
date: 2014-03-31 16:27:04.000000000

Uploaded patch set 1.

-------------------------------------
author: Brenden Conley
date: 2014-03-31 16:47:29.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/6156/

-------------------------------------
author: Brenden Conley
date: 2014-03-31 17:22:20.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/6156/ : SUCCESS

-------------------------------------
author: Luciana Barry
date: 2014-03-31 18:58:16.000000000

Patch Set 1: Code-Review-1

(1 comment)

Line:103, lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/project/model/TraceTypeHelper.java -> I don't think it makes sense for the trace to be null here. We shouldn't have to create a new Message file for this case...

-------------------------------------
