Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee')
-rw-r--r--plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DbConnectionFactory.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DbConnectionFactory.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DbConnectionFactory.java
index 6ed9930b74..03e59182a7 100644
--- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DbConnectionFactory.java
+++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/internal/DbConnectionFactory.java
@@ -13,6 +13,7 @@ package org.eclipse.osee.framework.database.internal;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
+
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.database.core.IConnectionFactory;
@@ -29,9 +30,9 @@ public class DbConnectionFactory implements IDbConnectionFactory {
@Override
public IConnectionFactory get(String driver) throws OseeCoreException {
- for (IConnectionFactory connection : connectionProviders) {
- if (connection.getDriver().equals(driver)) {
- return connection;
+ for (IConnectionFactory connectionFactory : connectionProviders) {
+ if (connectionFactory.getDriver().equals(driver)) {
+ return connectionFactory;
}
}
return null;

Back to the top