Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Jul 26, 2017
1 parent 7198a19 commit a77eed9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ public void testSQLExceptionTranslator() {
{
// Translated by SQLErrorCodeSQLExceptionTranslator
DataAccessException dataAccessException = translator
.translateExceptionIfPossible(
new JdbcException(Message.DOMA2008, new SQLException(
"Acquire Lock on H2", "SqlState", 50200, null)));
.translateExceptionIfPossible(new JdbcException(Message.DOMA2008,
new SQLException("Acquire Lock on H2", "SqlState", 50200,
null)));
assertThat(dataAccessException,
is(instanceOf(CannotAcquireLockException.class)));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
public class DomaBootSampleSimpleApplicationTest {
TestRestTemplate restTemplate = new TestRestTemplate();
TestRestTemplate restTemplate = new TestRestTemplate();
ParameterizedTypeReference<List<Message>> typedReference = new ParameterizedTypeReference<List<Message>>() {
};
@Value("${local.server.port}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
public class DomaBootSampleSimpleApplicationTest {
TestRestTemplate restTemplate = new TestRestTemplate();
TestRestTemplate restTemplate = new TestRestTemplate();
ParameterizedTypeReference<List<Message>> typedReference = new ParameterizedTypeReference<List<Message>>() {
};
@Value("${local.server.port}")
Expand Down

0 comments on commit a77eed9

Please sign in to comment.