1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 01:05:38 +02:00

[190013] when comparing filters to paths, a filter who has a parent directory matching the path should return true.

This commit is contained in:
David McKnight 2007-06-04 14:25:46 +00:00
parent 9edbe8448a
commit 8398567937

View file

@ -332,6 +332,10 @@ public abstract class RemoteFileSubSystem extends SubSystem implements IRemoteFi
//return true;
}
// DKM - if the filter and the remote object are the same
if (container.equals(remoteObjectAbsoluteName))
return true;
// trick: use filter string code to parse remote absolute name
RemoteFileFilterString rmtName = new RemoteFileFilterString(getParentRemoteFileSubSystemConfiguration(), remoteObjectAbsoluteName);
boolean pathMatch = false;