DESCRIPTION

tmf: lttngControl: use utility function to find State

Change-Id: Ia502cff3b0e226333ca2f5311c0c63f9f24be589
Signed-off-by: Izaiah Valdez xxx@xxx.xxx


COMMENTS

author: Izaiah Valdez
date: 2014-08-11 18:16:31.000000000

Uploaded patch set 3.

-------------------------------------
author: Ricky Reeves
date: 2014-08-12 18:28:50.000000000

Patch Set 3: Code-Review-1

(1 comment)

Line:195, lttng/org.eclipse.linuxtools.lttng2.control.core/src/org/eclipse/linuxtools/internal/lttng2/control/core/model/impl/ChannelInfo.java -> you could remove the this method from ChannelInfo and IChannelInfo and use the setState(TraceEnablement ) instead at the applicable places.

-------------------------------------
author: Izaiah Valdez
date: 2014-08-14 20:45:01.000000000

Patch Set 3:

(1 comment)

Line:195, lttng/org.eclipse.linuxtools.lttng2.control.core/src/org/eclipse/linuxtools/internal/lttng2/control/core/model/impl/ChannelInfo.java -> fixed the this. Keeping the setState(String stateName) can be usefull and keed the application code clean for the small price.

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