Changeset 530
- Timestamp:
- 11/08/09 13:31:40 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LogicMail/src/org/logicprobe/LogicMail/model/MailFileManager.java
r529 r530 92 92 */ 93 93 void refreshConfiguration() { 94 String newCacheUrl = mailSettings.getGlobalConfig().getLocalDataLocation() + CACHE_PREFIX; 94 String localDataLocation = mailSettings.getGlobalConfig().getLocalDataLocation(); 95 String newCacheUrl = localDataLocation + CACHE_PREFIX; 95 96 if(!newCacheUrl.equals(cacheUrl)) { 96 97 FileConnection fileConnection; 97 98 try { 99 fileConnection = (FileConnection)Connector.open(localDataLocation); 100 if(!fileConnection.exists()) { 101 fileConnection.mkdir(); 102 } 103 fileConnection.close(); 104 98 105 fileConnection = (FileConnection)Connector.open(newCacheUrl); 99 106 if(!fileConnection.exists()) {
Note: See TracChangeset
for help on using the changeset viewer.
