Skip to content

Commit 4f815b0

Browse files
committed
Merge pull request #33891 from youabledev
* pr/33891: Polish Closes gh-33891
2 parents cd60a00 + 5494d78 commit 4f815b0

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

spring-jdbc/src/test/java/org/springframework/jdbc/object/SqlQueryTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
*/
5656
class SqlQueryTests {
5757

58-
//FIXME inline?
58+
// FIXME inline?
5959
private static final String SELECT_ID =
6060
"select id from custmr";
6161
private static final String SELECT_ID_WHERE =

spring-messaging/src/main/java/org/springframework/messaging/handler/invocation/reactive/ChannelSendOperator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public final void onNext(T item) {
181181
requiredWriteSubscriber().onNext(item);
182182
return;
183183
}
184-
//FIXME revisit in case of reentrant sync deadlock
184+
// FIXME revisit in case of reentrant sync deadlock
185185
synchronized (this) {
186186
if (this.state == State.READY_TO_WRITE) {
187187
requiredWriteSubscriber().onNext(item);

spring-web/src/jmh/java/org/springframework/http/support/HeadersAdapterBenchmark.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public static class BenchmarkData {
7474
public MultiValueMap<String, String> headers;
7575
public Function<MultiValueMap<String, String>, Set<Map.Entry<String, List<String>>>> entriesProvider;
7676

77-
//Uncomment the following line and comment the similar line for setupImplementationBaseline below
78-
//to benchmark current implementations
77+
// Uncomment the following line and comment the similar line for setupImplementationBaseline below
78+
// to benchmark current implementations
7979
@Setup(Level.Trial)
8080
public void initImplementationNew() {
8181
this.entriesProvider = map -> new HttpHeaders(map).headerSet();
@@ -85,16 +85,16 @@ public void initImplementationNew() {
8585
case "HttpComponents" -> new HttpComponentsHeadersAdapter(new HttpGet("https://example.com"));
8686
case "Netty5" -> new Netty5HeadersAdapter(io.netty5.handler.codec.http.headers.HttpHeaders.newHeaders());
8787
case "Jetty" -> new JettyHeadersAdapter(HttpFields.build());
88-
//FIXME tomcat/undertow implementations (in another package)
88+
// FIXME tomcat/undertow implementations (in another package)
8989
// case "Tomcat" -> new TomcatHeadersAdapter(new MimeHeaders());
9090
// case "Undertow" -> new UndertowHeadersAdapter(new HeaderMap());
9191
default -> throw new IllegalArgumentException("Unsupported implementation: " + this.implementation);
9292
};
9393
initHeaders();
9494
}
9595

96-
//Uncomment the following line and comment the similar line for setupImplementationNew above
97-
//to benchmark old implementations
96+
// Uncomment the following line and comment the similar line for setupImplementationNew above
97+
// to benchmark old implementations
9898
// @Setup(Level.Trial)
9999
public void setupImplementationBaseline() {
100100
this.entriesProvider = MultiValueMap::entrySet;

spring-web/src/main/java/org/springframework/http/server/reactive/ChannelSendOperator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public final void onNext(T item) {
173173
requiredWriteSubscriber().onNext(item);
174174
return;
175175
}
176-
//FIXME revisit in case of reentrant sync deadlock
176+
// FIXME revisit in case of reentrant sync deadlock
177177
synchronized (this) {
178178
if (this.state == State.READY_TO_WRITE) {
179179
requiredWriteSubscriber().onNext(item);

0 commit comments

Comments
 (0)