1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-24 03:06:55 +00:00
parent 2d93ca6df4
commit 7b391787c6

View file

@ -43,7 +43,6 @@ import org.eclipse.cdt.ui.CUIPlugin;
*/
@Deprecated
public class CPElement {
public static final String SOURCEATTACHMENT = "sourcepath"; //$NON-NLS-1$
public static final String SOURCEATTACHMENTROOT = "rootpath"; //$NON-NLS-1$
public static final String EXCLUSION = "exclusion"; //$NON-NLS-1$
@ -145,8 +144,7 @@ public class CPElement {
entries = extContainer.getPathEntries(res.getFullPath(),
IPathEntry.CDT_INCLUDE | IPathEntry.CDT_MACRO |
IPathEntry.CDT_INCLUDE_FILE | IPathEntry.CDT_MACRO_FILE);
}
else {
} else {
entries = container.getPathEntries();
}
for (IPathEntry entrie : entries) {
@ -166,6 +164,7 @@ public class CPElement {
}
break;
default:
break;
}
}
@ -286,6 +285,7 @@ public class CPElement {
appendEncodePath(macrosFile, buf);
break;
default:
break;
}
break;
case IPathEntry.CDT_LIBRARY:
@ -299,6 +299,7 @@ public class CPElement {
appendEncodePath(library, buf);
break;
default:
break;
}
buf.setLength(buf.length() - 1);
return buf;
@ -344,8 +345,7 @@ public class CPElement {
if (group != null) {
createAttributeElement(PARENT, group);
}
}
else {
} else {
attribute.setValue(group);
}
}