mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 11:55:40 +02:00
Cosmetics.
This commit is contained in:
parent
2d93ca6df4
commit
7b391787c6
1 changed files with 72 additions and 72 deletions
|
@ -43,7 +43,6 @@ import org.eclipse.cdt.ui.CUIPlugin;
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public class CPElement {
|
public class CPElement {
|
||||||
|
|
||||||
public static final String SOURCEATTACHMENT = "sourcepath"; //$NON-NLS-1$
|
public static final String SOURCEATTACHMENT = "sourcepath"; //$NON-NLS-1$
|
||||||
public static final String SOURCEATTACHMENTROOT = "rootpath"; //$NON-NLS-1$
|
public static final String SOURCEATTACHMENTROOT = "rootpath"; //$NON-NLS-1$
|
||||||
public static final String EXCLUSION = "exclusion"; //$NON-NLS-1$
|
public static final String EXCLUSION = "exclusion"; //$NON-NLS-1$
|
||||||
|
@ -145,8 +144,7 @@ public class CPElement {
|
||||||
entries = extContainer.getPathEntries(res.getFullPath(),
|
entries = extContainer.getPathEntries(res.getFullPath(),
|
||||||
IPathEntry.CDT_INCLUDE | IPathEntry.CDT_MACRO |
|
IPathEntry.CDT_INCLUDE | IPathEntry.CDT_MACRO |
|
||||||
IPathEntry.CDT_INCLUDE_FILE | IPathEntry.CDT_MACRO_FILE);
|
IPathEntry.CDT_INCLUDE_FILE | IPathEntry.CDT_MACRO_FILE);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
entries = container.getPathEntries();
|
entries = container.getPathEntries();
|
||||||
}
|
}
|
||||||
for (IPathEntry entrie : entries) {
|
for (IPathEntry entrie : entries) {
|
||||||
|
@ -166,6 +164,7 @@ public class CPElement {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -286,6 +285,7 @@ public class CPElement {
|
||||||
appendEncodePath(macrosFile, buf);
|
appendEncodePath(macrosFile, buf);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case IPathEntry.CDT_LIBRARY:
|
case IPathEntry.CDT_LIBRARY:
|
||||||
|
@ -299,6 +299,7 @@ public class CPElement {
|
||||||
appendEncodePath(library, buf);
|
appendEncodePath(library, buf);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
buf.setLength(buf.length() - 1);
|
buf.setLength(buf.length() - 1);
|
||||||
return buf;
|
return buf;
|
||||||
|
@ -344,8 +345,7 @@ public class CPElement {
|
||||||
if (group != null) {
|
if (group != null) {
|
||||||
createAttributeElement(PARENT, group);
|
createAttributeElement(PARENT, group);
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
attribute.setValue(group);
|
attribute.setValue(group);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue