From 33b9a3cc5d17e2379dd2a1df4093f8f2b88d6dd5 Mon Sep 17 00:00:00 2001 From: Alena Laskavaia Date: Tue, 4 Nov 2008 17:40:57 +0000 Subject: [PATCH] - fixed indentation --- .../utils/org/eclipse/cdt/utils/CommandLineUtil.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/CommandLineUtil.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/CommandLineUtil.java index dc2b67dfe85..1f940502795 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/CommandLineUtil.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/CommandLineUtil.java @@ -7,7 +7,7 @@ import java.util.ArrayList; * @since 5.1 */ public class CommandLineUtil { - + /** * Parsing arguments in a shell style. * i.e. @@ -29,10 +29,10 @@ public class CommandLineUtil { final int IN_SINGLE_QUOTES = 4; final int IN_ARG = 5; - if (line == null) { + if (line == null) { line = ""; //$NON-NLS-1$ } - + char[] array = line.trim().toCharArray(); ArrayList aList = new ArrayList(); StringBuilder buffer = new StringBuilder(); @@ -102,7 +102,7 @@ public class CommandLineUtil { default: buffer.append('\\'); buffer.append(c); - break; + break; } state = IN_DOUBLE_QUOTES; break; @@ -112,8 +112,8 @@ public class CommandLineUtil { break; } } - - if (state!=INITIAL) { // this allow to process empty string as an argument + + if (state != INITIAL) { // this allow to process empty string as an argument aList.add(buffer.toString()); } return aList.toArray(new String[aList.size()]);