mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -308,7 +308,7 @@ class LayeredFileNodeImpl extends FileNodeImpl implements LayeredFileNode
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.avm.LayeredFileNode#getIndirectionVersion()
|
||||
*/
|
||||
public int getIndirectionVersion()
|
||||
public Integer getIndirectionVersion()
|
||||
{
|
||||
return fIndirectionVersion;
|
||||
}
|
||||
@@ -316,9 +316,16 @@ class LayeredFileNodeImpl extends FileNodeImpl implements LayeredFileNode
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.repo.avm.LayeredFileNode#setIndirectionVersion(int)
|
||||
*/
|
||||
public void setIndirectionVersion(int version)
|
||||
public void setIndirectionVersion(Integer version)
|
||||
{
|
||||
fIndirectionVersion = version;
|
||||
if (version == null)
|
||||
{
|
||||
fIndirectionVersion = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
fIndirectionVersion = version;
|
||||
}
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
Reference in New Issue
Block a user