Polishing
This commit is contained in:
@@ -145,7 +145,7 @@ public class HibernateTransactionManager extends AbstractPlatformTransactionMana
|
||||
|
||||
/**
|
||||
* Create a new HibernateTransactionManager instance.
|
||||
* @param sessionFactory SessionFactory to manage transactions for
|
||||
* @param sessionFactory the SessionFactory to manage transactions for
|
||||
*/
|
||||
public HibernateTransactionManager(SessionFactory sessionFactory) {
|
||||
this.sessionFactory = sessionFactory;
|
||||
@@ -199,7 +199,7 @@ public class HibernateTransactionManager extends AbstractPlatformTransactionMana
|
||||
* unwrapped to extract its target DataSource.
|
||||
* @see #setAutodetectDataSource
|
||||
* @see TransactionAwareDataSourceProxy
|
||||
* @see DataSourceUtils
|
||||
* @see org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy
|
||||
* @see org.springframework.jdbc.core.JdbcTemplate
|
||||
*/
|
||||
public void setDataSource(@Nullable DataSource dataSource) {
|
||||
|
||||
@@ -239,7 +239,7 @@ public class LocalSessionFactoryBean extends HibernateExceptionTranslator
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a Hibernate 5.0 ImplicitNamingStrategy for the SessionFactory.
|
||||
* Set a Hibernate 5 {@link ImplicitNamingStrategy} for the SessionFactory.
|
||||
* @see Configuration#setImplicitNamingStrategy
|
||||
*/
|
||||
public void setImplicitNamingStrategy(ImplicitNamingStrategy implicitNamingStrategy) {
|
||||
@@ -247,7 +247,7 @@ public class LocalSessionFactoryBean extends HibernateExceptionTranslator
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a Hibernate 5.0 PhysicalNamingStrategy for the SessionFactory.
|
||||
* Set a Hibernate 5 {@link PhysicalNamingStrategy} for the SessionFactory.
|
||||
* @see Configuration#setPhysicalNamingStrategy
|
||||
*/
|
||||
public void setPhysicalNamingStrategy(PhysicalNamingStrategy physicalNamingStrategy) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -60,13 +60,13 @@ public class HttpServerTests {
|
||||
}
|
||||
|
||||
@After
|
||||
public void tearDown() throws Exception {
|
||||
public void tearDown() {
|
||||
this.server.stop();
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void test() throws Exception {
|
||||
public void test() {
|
||||
this.client.get().uri("/test")
|
||||
.exchange()
|
||||
.expectStatus().isOk()
|
||||
|
||||
Reference in New Issue
Block a user