Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-05-06 00:02:46 -0400
committereutarass2011-05-06 00:02:46 -0400
commit36255a58eb189f800ea3224f3334f448c7c6f61e (patch)
tree0240880dc78ce642c667333b69099d88ee662c59
parent1948c9011d8c29ea3009f9678b4f39bac9e7f95d (diff)
downloadorg.eclipse.tcf-36255a58eb189f800ea3224f3334f448c7c6f61e.tar.gz
org.eclipse.tcf-36255a58eb189f800ea3224f3334f448c7c6f61e.tar.xz
org.eclipse.tcf-36255a58eb189f800ea3224f3334f448c7c6f61e.zip
Cleanup of tabs and extra spaces.
-rw-r--r--plugins/org.eclipse.tm.tcf.debug.ui/src/org/eclipse/tm/internal/tcf/debug/ui/model/TCFNodeExpression.java14
1 files changed, 7 insertions, 7 deletions
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 331245c47..5c09572a9 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
@@ -423,7 +423,7 @@ public class TCFNodeExpression extends TCFNode implements IElementEditor, ICastT
expression_text = new TCFData<String>(channel) {
@Override
protected boolean startDataRetrieval() {
- TCFDataCache<ISymbols.Symbol> field = model.getSymbolInfoCache(field_id);
+ TCFDataCache<ISymbols.Symbol> field = model.getSymbolInfoCache(field_id);
TCFDataCache<?> pending = null;
if (field != null && !field.validate()) pending = field;
if (!var_expression.validate()) pending = var_expression;
@@ -437,7 +437,7 @@ public class TCFNodeExpression extends TCFNode implements IElementEditor, ICastT
TCFDataCache<String> parentText = ((TCFNodeExpression) parent).getExpressionText();
if (!parentText.validate(this)) return false;
if (parentText.getData() != null) {
- parentName = parenthesize(parentText.getData());
+ parentName = parenthesize(parentText.getData());
}
}
String name = null;
@@ -450,7 +450,7 @@ public class TCFNodeExpression extends TCFNode implements IElementEditor, ICastT
}
}
if (name == null && field != null && field.getData() != null) {
- name = parentName + (deref ? "->" : ".") + field.getData().getName();
+ name = parentName + (deref ? "->" : ".") + field.getData().getName();
}
if (name == null && var_expression.getData() != null) {
TCFDataCache<ISymbols.Symbol> var = model.getSymbolInfoCache(var_expression.getData().getSymbolID());
@@ -469,9 +469,9 @@ public class TCFNodeExpression extends TCFNode implements IElementEditor, ICastT
}
private String parenthesize(String expr) {
- // surround with parentheses if not a simple identifier
+ // surround with parentheses if not a simple identifier
if (!expr.matches("\\w*")) {
- return '(' + expr + ')';
+ return '(' + expr + ')';
}
return expr;
}
@@ -1393,8 +1393,8 @@ public class TCFNodeExpression extends TCFNode implements IElementEditor, ICastT
}
return super.getAdapter(adapter);
}
-
+
public TCFDataCache<String> getExpressionText() {
- return expression_text;
+ return expression_text;
}
}

Back to the top