DataStore getStore(boolean force) throws IOException { DataStore store = ref != null ? ref.get() : null; if (store == null && force) { store = factory.getDataStore(file); ref = new DataStoreSoftReference(store); } return store; }
DataStore store = factory.getDataStore(file); if (store != null) { entry = new FileEntry(file, store);
DataStore getStore(boolean force) throws IOException { DataStore store = ref != null ? ref.get() : null; if(store == null && force) { store = factory.getDataStore(file); ref = new DataStoreSoftReference(store); } return store; }
DataStore store = factory.getDataStore(file); if(store != null) { entry = new FileEntry(file, store);