imario 2004/07/07 05:03:32
Modified: vfs/src/java/org/apache/commons/vfs/impl
DefaultFileSystemManager.java
Log:
when closing the manager - ensure the filescache is closed too
Revision Changes Path
1.34 +4 -3
jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java
Index: DefaultFileSystemManager.java
===================================================================
RCS file:
/home/cvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- DefaultFileSystemManager.java 4 Jul 2004 18:45:56 -0000 1.33
+++ DefaultFileSystemManager.java 7 Jul 2004 12:03:32 -0000 1.34
@@ -1,12 +1,12 @@
/*
* Copyright 2002, 2003,2004 The Apache Software Foundation.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -389,6 +389,7 @@
components.clear();
providers.clear();
+ filesCache.close();
localFileProvider = null;
defaultProvider = null;
fileReplicator = null;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]