fileModificationService.close();
}
public BundlableNode locateFirstBundlableAncestorNode(File file) throws InvalidBundlableNodeException
{
Node node = locateFirstAncestorNode(file, BundlableNode.class);
BundlableNode bundlableNode = null;
while((node != null) && (bundlableNode == null))
{
if(node instanceof BundlableNode)
{
bundlableNode = (BundlableNode) node;
}
node = node.parentNode();
}
if (bundlableNode == null) throw new InvalidBundlableNodeException( RelativePathUtility.get(getFileInfoAccessor(), dir(), file) );
return bundlableNode;