Skip to content
Permalink
Browse files
Merge pull request #5 from myrle-krantz/develop
Local vs bound variable.  Minor fix.
  • Loading branch information
myrle-krantz committed May 15, 2017
2 parents c9f017c + 3868342 commit bc9ccf90e8fd4095aea7839e0ffbb86ef65eee72
Showing 1 changed file with 2 additions and 2 deletions.
@@ -65,8 +65,8 @@ protected DataSource determineTargetDataSource() {
final String currentLookupKey = this.determineCurrentLookupKey().toString();

this.dynamicDataSources.computeIfAbsent(currentLookupKey, (key) -> {
this.logger.info("Creating new dynamic data source for {}.", currentLookupKey);
final Tenant tenant = new Tenant(currentLookupKey);
this.logger.info("Creating new dynamic data source for {}.", key);
final Tenant tenant = new Tenant(key);
this.readAdditionalTenantInformation(tenant);
final BoneCPDataSource tenantDataSource = new BoneCPDataSource();
tenantDataSource.setDriverClass(tenant.getDriverClass());

0 comments on commit bc9ccf9

Please sign in to comment.