|
|
|
@ -589,7 +589,7 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
|
|
|
|
|
} else { |
|
|
|
|
path = driverPath; |
|
|
|
|
} |
|
|
|
|
if(JarFileParseUtil.designerHasDuplicateDriver(con.getDriver(), path)) { |
|
|
|
|
if(hasDuplicateDriver(con.getDriver(), path)) { |
|
|
|
|
testResult.setForeground(Color.RED); |
|
|
|
|
testResult.setText(Toolkit.i18nText("Fine_Designer_Driver_Conflict")); |
|
|
|
|
} else { |
|
|
|
@ -605,7 +605,9 @@ public abstract class DatabaseConnectionPane<E extends com.fr.data.impl.Connecti
|
|
|
|
|
return xBorderPanel; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private boolean hasDuplicateDriver(String driver, String folder) { |
|
|
|
|
return JarFileParseUtil.hasDuplicateDriver(driver, folder); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|