mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 23:15:24 +02:00
Cosmetics.
This commit is contained in:
parent
b8cb729795
commit
e9eeb2b478
1 changed files with 3 additions and 4 deletions
|
@ -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$
|
||||||
|
@ -585,8 +584,8 @@ public class BuildEntryStorage extends AbstractEntryStorage {
|
||||||
// private static Object[] optionPathValueToEntry(String value) {
|
// private static Object[] optionPathValueToEntry(String value) {
|
||||||
// String wspPath = ManagedBuildManager.locationToFullPath(value);
|
// String wspPath = ManagedBuildManager.locationToFullPath(value);
|
||||||
// if (wspPath != null)
|
// if (wspPath != null)
|
||||||
// return new Object[]{wspPath, Boolean.valueOf(true)};
|
// return new Object[] { wspPath, Boolean.valueOf(true) };
|
||||||
// return new Object[]{value, Boolean.valueOf(false)};
|
// return new Object[] { value, Boolean.valueOf(false) };
|
||||||
// }
|
// }
|
||||||
|
|
||||||
private static PathInfo optionPathValueToEntry(String str, SupplierBasedCdtVariableSubstitutor subst) {
|
private static PathInfo optionPathValueToEntry(String str, SupplierBasedCdtVariableSubstitutor subst) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue