Merge branch '1.3.x'

This commit is contained in:
Phillip Webb
2016-06-10 17:24:02 -07:00
7 changed files with 82 additions and 15 deletions

View File

@@ -84,10 +84,8 @@ public class DataSourceBuilder {
private void bind(DataSource result) {
MutablePropertyValues properties = new MutablePropertyValues(this.properties);
new RelaxedDataBinder(result)
.withAlias("url", "jdbcUrl")
.withAlias("username", "user")
.bind(properties);
new RelaxedDataBinder(result).withAlias("url", "jdbcUrl")
.withAlias("username", "user").bind(properties);
}
public DataSourceBuilder type(Class<? extends DataSource> type) {