1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-13 19:25:38 +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; char[][]fullCharExclusionPatterns = UNINIT_PATTERNS;
public ACExclusionFilterEntry(IPath path, IPath exclusionPatterns[] , int flags) { ACExclusionFilterEntry(IPath path, IPath exclusionPatterns[] , int flags) {
super(path, flags); super(path, flags);
this.exclusionPatterns = exclusionPatterns != null ? (IPath[])exclusionPatterns.clone() : new IPath[0]; 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); super(rc, flags);
this.exclusionPatterns = exclusionPatterns != null ? (IPath[])exclusionPatterns.clone() : new IPath[0]; 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); super(value, flags);
this.exclusionPatterns = exclusionPatterns != null ? (IPath[])exclusionPatterns.clone() : new IPath[0]; this.exclusionPatterns = exclusionPatterns != null ? (IPath[])exclusionPatterns.clone() : new IPath[0];
} }

View file

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

View file

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