Fix off -by-one logic error

pull/50/head
Dave Syer 11 years ago
parent a9113d58a3
commit e6c1586717

@ -197,7 +197,7 @@ public class DataSourceAutoConfiguration implements EnvironmentAware {
return Outcome.match("found database driver " + driverClassName);
}
return Outcome.match("missing database driver " + driverClassName);
return Outcome.noMatch("missing database driver " + driverClassName);
}
private String getDriverClassName(Environment environment, ClassLoader classLoader) {

Loading…
Cancel
Save