Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSergey Prigogin2009-05-28 07:43:28 +0000
committerSergey Prigogin2009-05-28 07:43:28 +0000
commitb24cf5d72362ac4f94fb0b388c972b8355c69d7f (patch)
tree3eb7d6fbddb20200d3cac8e43a438ab857bf2f6b /core
parent62b0e8bd2e9ec674041c72fceef4bb409cfa00da (diff)
downloadorg.eclipse.cdt-b24cf5d72362ac4f94fb0b388c972b8355c69d7f.tar.gz
org.eclipse.cdt-b24cf5d72362ac4f94fb0b388c972b8355c69d7f.tar.xz
org.eclipse.cdt-b24cf5d72362ac4f94fb0b388c972b8355c69d7f.zip
Code formatting.
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CIndenter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CIndenter.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CIndenter.java
index 5123c5700ee..4858f1b97bc 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CIndenter.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CIndenter.java
@@ -869,9 +869,9 @@ public final class CIndenter {
// Align parentheses
if (matchParen) {
- if (skipScope(Symbols.TokenLPAREN, Symbols.TokenRPAREN))
+ if (skipScope(Symbols.TokenLPAREN, Symbols.TokenRPAREN)) {
return fPosition;
- else {
+ } else {
// if we can't find the matching paren, the heuristic is to unindent
// by one against the normal position
int pos= findReferencePosition(offset, danglingElse, matchBrace, false, matchCase,
@@ -2021,7 +2021,7 @@ public final class CIndenter {
if (depth == 0)
return true;
} else if (fToken == Symbols.TokenEOF) {
- return false;
+ return false;
}
}
}

Back to the top