Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2011-09-30 12:55:04 -0400
committerEugene Tarassov2011-09-30 12:55:04 -0400
commit1cfb8ec6ef22a05eb802be8261e10d84d54a5854 (patch)
treee075763a881a30de260eba843371a3c6fd2de2ab /plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse
parent31a75a7702280cbef0c4aae0cffe8727947c4ac7 (diff)
downloadorg.eclipse.tcf-1cfb8ec6ef22a05eb802be8261e10d84d54a5854.tar.gz
org.eclipse.tcf-1cfb8ec6ef22a05eb802be8261e10d84d54a5854.tar.xz
org.eclipse.tcf-1cfb8ec6ef22a05eb802be8261e10d84d54a5854.zip
Source code cleanup: CRLF -> LF, removing extra space chars
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFChildrenSubExpressions.java4
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModel.java12
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java4
3 files changed, 10 insertions, 10 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFChildrenSubExpressions.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFChildrenSubExpressions.java
index b6c729562..993e5101c 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFChildrenSubExpressions.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFChildrenSubExpressions.java
@@ -116,7 +116,7 @@ public class TCFChildrenSubExpressions extends TCFChildren {
pending.wait(this);
return false;
}
-
+
private TCFNodeExpression findReg(String reg_id) {
assert reg_id != null;
for (TCFNode n : getNodes()) {
@@ -125,7 +125,7 @@ public class TCFChildrenSubExpressions extends TCFChildren {
}
return null;
}
-
+
private boolean findRegs(TCFNodeRegister reg_node, Map<String,TCFNode> map) {
TCFChildren reg_children = reg_node.getChildren();
if (!reg_children.validate(this)) return false;
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModel.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModel.java
index 58a10ca0f..0cf37420d 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModel.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFModel.java
@@ -1124,17 +1124,17 @@ public class TCFModel implements IElementContentProvider, IElementLabelProvider,
}
return true;
}
-
+
private class CreateNodeRunnable implements Runnable {
-
+
final String id;
final ArrayList<Runnable> waiting_list = new ArrayList<Runnable>();
final ArrayList<IService> service_list = new ArrayList<IService>();
-
+
CreateNodeRunnable(String id) {
this.id = id;
assert context_map.get(id) == null;
- String[] arr = { IRunControl.NAME, IStackTrace.NAME, IRegisters.NAME };
+ String[] arr = { IRunControl.NAME, IStackTrace.NAME, IRegisters.NAME };
for (String nm : arr) {
IService s = channel.getRemoteService(nm);
if (s != null) service_list.add(s);
@@ -1142,12 +1142,12 @@ public class TCFModel implements IElementContentProvider, IElementLabelProvider,
context_map.put(id, this);
Protocol.invokeLater(this);
}
-
+
void wait(Runnable r) {
assert context_map.get(id) == this;
waiting_list.add(r);
}
-
+
public void run() {
assert context_map.get(id) == this;
if (service_list.size() == 0) {
diff --git a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java
index 55918964f..1d85b6b14 100644
--- a/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java
+++ b/plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java
@@ -204,9 +204,9 @@ public class TCFNodeExpression extends TCFNode implements IElementEditor, ICastT
IRegisters.RegistersContext ctx_data = ctx_cache.getData();
if (ctx_data == null) {
set(null, ctx_cache.getError(), null);
- return true;
+ return true;
}
- expr_text = expr_text == null ? ctx_data.getName() : ctx_data.getName() + "." + expr_text;
+ expr_text = expr_text == null ? ctx_data.getName() : ctx_data.getName() + "." + expr_text;
if (!(reg_node.parent instanceof TCFNodeRegister)) break;
reg_node = (TCFNodeRegister)reg_node.parent;
}

Back to the top