"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/org.jkiss.dbeaver.registry/src/org/jkiss/dbeaver/registry/driver/DriverLibraryAbstract.java" between
dbeaver-6.1.5.tar.gz and dbeaver-6.2.0.tar.gz

About: DBeaver is a multi-platform database tool (for developers and database administrators) that supports all popular databases. Java sources.

DriverLibraryAbstract.java  (dbeaver-6.1.5):DriverLibraryAbstract.java  (dbeaver-6.2.0)
skipping to change at line 211 skipping to change at line 211
{ {
return system == null || system.matches(DBWorkbench.getPlatform().getLoc alSystem()); return system == null || system.matches(DBWorkbench.getPlatform().getLoc alSystem());
} }
public void downloadLibraryFile(@NotNull DBRProgressMonitor monitor, boolean forceUpdate, String taskName) throws IOException, InterruptedException public void downloadLibraryFile(@NotNull DBRProgressMonitor monitor, boolean forceUpdate, String taskName) throws IOException, InterruptedException
{ {
final File localFile = getLocalFile(); final File localFile = getLocalFile();
if (localFile == null) { if (localFile == null) {
throw new IOException("No target file for '" + getPath() + "'"); throw new IOException("No target file for '" + getPath() + "'");
} }
if (!forceUpdate && localFile.exists()) { if (!forceUpdate && localFile.exists() && localFile.length() > 0) {
return; return;
} }
final File localDir = localFile.getParentFile(); final File localDir = localFile.getParentFile();
if (!localDir.exists()) { if (!localDir.exists()) {
if (!localDir.mkdirs()) { if (!localDir.mkdirs()) {
log.warn("Can't create directory for local driver file '" + loca lDir.getAbsolutePath() + "'"); log.warn("Can't create directory for local driver file '" + loca lDir.getAbsolutePath() + "'");
} }
} }
String externalURL = getExternalURL(monitor); String externalURL = getExternalURL(monitor);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)