Skip to content

Commit 84266d7

Browse files
committed
Polishing
1 parent 4e10735 commit 84266d7

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

spring-tx/src/main/java/org/springframework/transaction/PlatformTransactionManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -41,7 +41,6 @@
4141
* @since 16.05.2003
4242
* @see org.springframework.transaction.support.TransactionTemplate
4343
* @see org.springframework.transaction.interceptor.TransactionInterceptor
44-
* @see org.springframework.transaction.interceptor.TransactionProxyFactoryBean
4544
*/
4645
public interface PlatformTransactionManager {
4746

@@ -68,7 +67,8 @@ public interface PlatformTransactionManager {
6867
* @see TransactionDefinition#getTimeout
6968
* @see TransactionDefinition#isReadOnly
7069
*/
71-
TransactionStatus getTransaction(@Nullable TransactionDefinition definition) throws TransactionException;
70+
TransactionStatus getTransaction(@Nullable TransactionDefinition definition)
71+
throws TransactionException;
7272

7373
/**
7474
* Commit the given transaction, with regard to its status. If the transaction

spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ExchangeStrategies.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,18 +37,18 @@ public interface ExchangeStrategies {
3737

3838
/**
3939
* Return {@link HttpMessageReader HttpMessageReaders} to read and decode the response body with.
40-
* @return the stream of message readers
40+
* @return the message readers
4141
*/
4242
List<HttpMessageReader<?>> messageReaders();
4343

4444
/**
4545
* Return {@link HttpMessageWriter HttpMessageWriters} to write and encode the request body with.
46-
* @return the stream of message writers
46+
* @return the message writers
4747
*/
4848
List<HttpMessageWriter<?>> messageWriters();
4949

5050

51-
// Static methods
51+
// Static builder methods
5252

5353
/**
5454
* Return a new {@code ExchangeStrategies} with default configuration

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/HandlerStrategies.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,10 +28,11 @@
2828
import org.springframework.web.server.i18n.LocaleContextResolver;
2929

3030
/**
31-
* Defines the strategies to be used for processing {@link HandlerFunction HandlerFunctions}. An instance of
32-
* this class is immutable; instances are typically created through the mutable {@link Builder}:
33-
* either through {@link #builder()} to set up default strategies, or {@link #empty()} to start from
34-
* scratch.
31+
* Defines the strategies to be used for processing {@link HandlerFunction HandlerFunctions}.
32+
*
33+
* <p>An instance of this class is immutable. Instances are typically created through the
34+
* mutable {@link Builder}: either through {@link #builder()} to set up default strategies,
35+
* or {@link #empty()} to start from scratch.
3536
*
3637
* @author Arjen Poutsma
3738
* @author Juergen Hoeller
@@ -78,7 +79,7 @@ public interface HandlerStrategies {
7879
LocaleContextResolver localeContextResolver();
7980

8081

81-
// Static methods
82+
// Static builder methods
8283

8384
/**
8485
* Return a new {@code HandlerStrategies} with default initialization.

0 commit comments

Comments
 (0)