Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-04-17 03:13:26 -0400
committerUwe Stieber2012-04-17 03:13:26 -0400
commit2b96afbd214dfcd17d224a2aa4b79f114059c1db (patch)
tree80d4d831013eeeee163123933b8c59a6ce4e63b7 /target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src
parentec2151086245dcd0ae4fca147adf82d25afadd33 (diff)
downloadorg.eclipse.tcf-2b96afbd214dfcd17d224a2aa4b79f114059c1db.tar.gz
org.eclipse.tcf-2b96afbd214dfcd17d224a2aa4b79f114059c1db.tar.xz
org.eclipse.tcf-2b96afbd214dfcd17d224a2aa4b79f114059c1db.zip
Target Explorer: Fix some warnings
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/monitor/events/EventListener.java5
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/scriptpad/events/EventListener.java1
2 files changed, 4 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/monitor/events/EventListener.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/monitor/events/EventListener.java
index f6ec17cb3..0965d9246 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/monitor/events/EventListener.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/monitor/events/EventListener.java
@@ -36,8 +36,6 @@ public class EventListener extends AbstractEventListener {
MonitorEvent.Message message = monitorEvent.getMessage();
switch (type) {
- case OPEN:
- break;
case CLOSE:
// Channel close messages are logged only if there is an error
if (message != null && message.text != null && !message.text.contains("(error=null)")) { //$NON-NLS-1$
@@ -57,6 +55,9 @@ public class EventListener extends AbstractEventListener {
console.appendMessage(message.type, message.text);
}
break;
+ case OPEN:
+ default:
+ break;
}
}
}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/scriptpad/events/EventListener.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/scriptpad/events/EventListener.java
index 5dc14fa9a..9906cf0ea 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/scriptpad/events/EventListener.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/src/org/eclipse/tcf/te/tcf/ui/views/scriptpad/events/EventListener.java
@@ -44,6 +44,7 @@ public class EventListener extends AbstractEventListener {
}
break;
case STOP:
+ default:
break;
}
}

Back to the top