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

small fix for abstract setting entries

This commit is contained in:
Mikhail Sennikovsky 2007-04-18 14:44:54 +00:00
parent b9d5827fc8
commit 874797e0ce
3 changed files with 7 additions and 7 deletions

View file

@ -21,17 +21,17 @@ public abstract class ACExclusionFilterEntry extends ACPathEntry implements ICEx
char[][]fullCharExclusionPatterns = UNINIT_PATTERNS;
public ACExclusionFilterEntry(IPath path, IPath exclusionPatterns[] , int flags) {
ACExclusionFilterEntry(IPath path, IPath exclusionPatterns[] , int flags) {
super(path, flags);
this.exclusionPatterns = exclusionPatterns != null ? (IPath[])exclusionPatterns.clone() : new IPath[0];
}
public ACExclusionFilterEntry(IFolder rc, IPath exclusionPatterns[], int flags) {
ACExclusionFilterEntry(IFolder rc, IPath exclusionPatterns[], int flags) {
super(rc, flags);
this.exclusionPatterns = exclusionPatterns != null ? (IPath[])exclusionPatterns.clone() : new IPath[0];
}
public ACExclusionFilterEntry(String value, IPath exclusionPatterns[], int flags) {
ACExclusionFilterEntry(String value, IPath exclusionPatterns[], int flags) {
super(value, flags);
this.exclusionPatterns = exclusionPatterns != null ? (IPath[])exclusionPatterns.clone() : new IPath[0];
}

View file

@ -21,7 +21,7 @@ public abstract class ACPathEntry extends ACSettingEntry
// IPath fLocation;
// private IPath fPath;
public ACPathEntry(IResource rc, int flags) {
ACPathEntry(IResource rc, int flags) {
super(rc.getFullPath().toString(), flags | RESOLVED | VALUE_WORKSPACE_PATH);
// fFullPath = rc.getFullPath();
// fPath = rc.getFullPath();
@ -34,11 +34,11 @@ public abstract class ACPathEntry extends ACSettingEntry
fFullPath = fullPath;
}
*/
public ACPathEntry(String value, int flags) {
ACPathEntry(String value, int flags) {
super(value, flags);
}
public ACPathEntry(IPath path, int flags) {
ACPathEntry(IPath path, int flags) {
super(path.toString(), flags /*| RESOLVED*/);
// fPath = path;
// if(isValueWorkspacePath())

View file

@ -16,7 +16,7 @@ public abstract class ACSettingEntry implements ICSettingEntry {
int fFlags;
String fName;
public ACSettingEntry(String name, int flags){
ACSettingEntry(String name, int flags){
fName = name;
fFlags = flags;
}