Remove unnecessary 'return' statements

Change-Id: Ie517a85ad5d0d53479b8f726b932048acce4f889
This commit is contained in:
alex.ryazantsev
2013-11-18 06:20:36 +04:00
committed by Александр Рязанцев
parent fc798093b8
commit cc2bccfdfd
7 changed files with 2 additions and 18 deletions

View File

@@ -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.