Commit e6c15867 authored by Dave Syer's avatar Dave Syer

Fix off -by-one logic error

parent a9113d58
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment