Remove unnecessary 'return' statements
Change-Id: Ie517a85ad5d0d53479b8f726b932048acce4f889
This commit is contained in:
committed by
Александр Рязанцев
parent
fc798093b8
commit
cc2bccfdfd
@@ -72,7 +72,6 @@ final class ReviewDbDataSourceProvider implements Provider<DataSource>,
|
||||
Class<?> type = Class.forName("com.mchange.v2.c3p0.DataSources");
|
||||
if (type.isInstance(ds)) {
|
||||
type.getMethod("destroy", DataSource.class).invoke(null, ds);
|
||||
return;
|
||||
}
|
||||
} catch (Throwable bad) {
|
||||
// Oh well, its not a c3p0 pooled connection.
|
||||
|
||||
Reference in New Issue
Block a user