Patch for recent Layered lookup changes.

Miscellaneous cleanups noticed on the way.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5586 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-05-01 17:23:17 +00:00
parent f91cedfd69
commit 656f297ebb
10 changed files with 166 additions and 22 deletions

View File

@@ -937,16 +937,23 @@ class LayeredDirectoryNodeImpl extends DirectoryNodeImpl implements LayeredDirec
/* (non-Javadoc)
* @see org.alfresco.repo.avm.LayeredDirectoryNode#setIndirectionVersion(int)
*/
public void setIndirectionVersion(int version)
public void setIndirectionVersion(Integer version)
{
fIndirectionVersion = version;
if (version == null)
{
fIndirectionVersion = -1;
}
else
{
fIndirectionVersion = version;
}
}
/**
* Get the indirection version.
* @return The indirection version.
*/
public int getIndirectionVersion()
public Integer getIndirectionVersion()
{
return fIndirectionVersion;
}