From b24cf5d72362ac4f94fb0b388c972b8355c69d7f Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 28 May 2009 07:43:28 +0000 Subject: [PATCH] Code formatting. --- .../src/org/eclipse/cdt/internal/ui/text/CIndenter.java | 6 +++--- 1 file 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; } } }