mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-11103 - NFS Files not getting closed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -63,4 +63,12 @@ public abstract class AlfrescoNetworkFile extends NetworkFile implements Network
|
||||
{
|
||||
m_state = state;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tell JLAN it needs to call disk.closeFile rather than short cutting.
|
||||
* @return
|
||||
*/
|
||||
public boolean allowsOpenCloseViaNetworkFile() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@@ -124,6 +124,14 @@ public class TempNetworkFile extends JavaNetworkFile implements NetworkFileState
|
||||
return fileState;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tell JLAN it needs to call disk.closeFile rather than short cutting.
|
||||
* @return
|
||||
*/
|
||||
public boolean allowsOpenCloseViaNetworkFile() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
private FileState fileState;
|
||||
}
|
||||
|
Reference in New Issue
Block a user