1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-20 15:35:24 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-25 03:23:18 +00:00
parent b8cb729795
commit e9eeb2b478

View file

@ -337,7 +337,6 @@ public class BuildEntryStorage extends AbstractEntryStorage {
} }
// private String[] resolve(String v, IOption option, IPath[] buildLocation) { // private String[] resolve(String v, IOption option, IPath[] buildLocation) {
//
// } // }
private String[] resolve(String v, IOption option, SupplierBasedCdtVariableSubstitutor sub) { private String[] resolve(String v, IOption option, SupplierBasedCdtVariableSubstitutor sub) {
@ -552,7 +551,7 @@ public class BuildEntryStorage extends AbstractEntryStorage {
int i = pathName.indexOf(' ') + pathName.indexOf('\\') int i = pathName.indexOf(' ') + pathName.indexOf('\\')
+ pathName.indexOf("${"); //$NON-NLS-1$ + pathName.indexOf("${"); //$NON-NLS-1$
/* If indexof didn't fail all three times, double-quote path */ /* If indexOf didn't fail all three times, double-quote path */
if (i != -3) { if (i != -3) {
if (!bStartsWithQuote) { if (!bStartsWithQuote) {
pathName = "\"" + pathName; //$NON-NLS-1$ pathName = "\"" + pathName; //$NON-NLS-1$