remove trace status from reconcile logic
authordadubrow
Wed, 17 Feb 2010 08:30:40 -0600
changeset 974 f4cb77ddd127
parent 972 0c49ca7fe877
child 975 2b8ddaf7ef42
remove trace status from reconcile logic
debuggercdi/com.nokia.carbide.trk.support/src/com/nokia/carbide/trk/support/status/ConnectionStatusReconciler.java
--- a/debuggercdi/com.nokia.carbide.trk.support/src/com/nokia/carbide/trk/support/status/ConnectionStatusReconciler.java	Tue Feb 16 23:57:16 2010 -0600
+++ b/debuggercdi/com.nokia.carbide.trk.support/src/com/nokia/carbide/trk/support/status/ConnectionStatusReconciler.java	Wed Feb 17 08:30:40 2010 -0600
@@ -229,18 +229,19 @@
 	private void setConnectionStatus(IConnection2 connection, boolean isSysTRK, EStatus trkStatus, EStatus traceStatus) {
 		// use trk status
 		EConnectionStatus connectionStatus = service2ConnectionStatus(trkStatus);
-		// if sys trk, tracing also used
-		if (isSysTRK && connectionStatus.equals(EConnectionStatus.READY)) {
-			connectionStatus = service2ConnectionStatus(traceStatus);
-		}
+		// NOTE: removing trace status logic for now
+//		// if sys trk, tracing also used
+//		if (isSysTRK && connectionStatus.equals(EConnectionStatus.READY)) {
+//			connectionStatus = service2ConnectionStatus(traceStatus);
+//		}
 
 		String shortDesc = getShortDescriptionForStatus(connectionStatus);
 		StringBuilder longDesc = new StringBuilder(Messages.getString("ConnectionStatusReconciler_TRKServicePrefix")); //$NON-NLS-1$
 		longDesc.append(getServiceStatusString(trkStatus));
-		if (isSysTRK) {
-			longDesc.append(Messages.getString("ConnectionStatusReconciler_TracingServicePrefix")); //$NON-NLS-1$
-			longDesc.append(getServiceStatusString(traceStatus));
-		}
+//		if (isSysTRK) {
+//			longDesc.append(Messages.getString("ConnectionStatusReconciler_TracingServicePrefix")); //$NON-NLS-1$
+//			longDesc.append(getServiceStatusString(traceStatus));
+//		}
 		
 		connection.setStatus(new ConnectionStatus(connectionStatus, shortDesc, longDesc.toString()));
 	}