Polish caught exception names
Prefer `ex` over `e`.
This commit is contained in:
@@ -146,7 +146,7 @@ public class WebServicesAutoConfiguration {
|
||||
return this.applicationContext
|
||||
.getResources(ensureTrailingSlash(location) + pattern);
|
||||
}
|
||||
catch (IOException e) {
|
||||
catch (IOException ex) {
|
||||
return new Resource[0];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ public class JooqPropertiesTests {
|
||||
given(connection.getMetaData()).willReturn(metadata);
|
||||
given(ds.getConnection()).willReturn(connection);
|
||||
}
|
||||
catch (SQLException e) {
|
||||
catch (SQLException ex) {
|
||||
// Do nothing
|
||||
}
|
||||
return ds;
|
||||
|
||||
@@ -136,7 +136,7 @@ public class CustomHibernateJpaAutoConfigurationTests {
|
||||
given(dataSource.getConnection().getMetaData())
|
||||
.willReturn(mock(DatabaseMetaData.class));
|
||||
}
|
||||
catch (SQLException e) {
|
||||
catch (SQLException ex) {
|
||||
// Do nothing
|
||||
}
|
||||
return dataSource;
|
||||
|
||||
@@ -307,7 +307,7 @@ public class JpaPropertiesTests {
|
||||
given(connection.getMetaData()).willReturn(metadata);
|
||||
given(ds.getConnection()).willReturn(connection);
|
||||
}
|
||||
catch (SQLException e) {
|
||||
catch (SQLException ex) {
|
||||
// Do nothing
|
||||
}
|
||||
return ds;
|
||||
|
||||
Reference in New Issue
Block a user