Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.connection. (OFBIZ-9718) Thanks Julian Leichert for reporting and providing the patch. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-1
@@ -166,7 +166,7 @@ public class DBCPConnectionFactory implements ConnectionFactory {
|
||||
public static Map<String, Object> getDataSourceInfo(String helperName) {
|
||||
Map<String, Object> dataSourceInfo = new HashMap<String, Object>();
|
||||
DebugManagedDataSource mds = dsCache.get(helperName);
|
||||
if (mds instanceof DebugManagedDataSource) {
|
||||
if (mds != null) {
|
||||
dataSourceInfo = mds.getInfo();
|
||||
}
|
||||
return dataSourceInfo;
|
||||
|
||||
Reference in New Issue
Block a user