Browse Source

Polishing

pull/23430/head
Juergen Hoeller 6 years ago
parent
commit
8bc06d20ac
  1. 4
      spring-orm/src/main/java/org/springframework/orm/hibernate5/HibernateTransactionManager.java
  2. 4
      spring-orm/src/main/java/org/springframework/orm/hibernate5/LocalSessionFactoryBean.java
  3. 6
      spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/HttpServerTests.java

4
spring-orm/src/main/java/org/springframework/orm/hibernate5/HibernateTransactionManager.java

@ -145,7 +145,7 @@ public class HibernateTransactionManager extends AbstractPlatformTransactionMana @@ -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 @@ -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) {

4
spring-orm/src/main/java/org/springframework/orm/hibernate5/LocalSessionFactoryBean.java

@ -239,7 +239,7 @@ public class LocalSessionFactoryBean extends HibernateExceptionTranslator @@ -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 @@ -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) {

6
spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/HttpServerTests.java

@ -1,5 +1,5 @@ @@ -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 { @@ -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()

Loading…
Cancel
Save