File tree 2 files changed +3
-4
lines changed
spring-context/src/test/resources/org/springframework/jmx/export
spring-web/src/main/java/org/springframework/http/server/reactive
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 17
17
<entry key =" spring:type=PublisherStandardMBean" value-ref =" publisherStandardMBean" />
18
18
</map >
19
19
</property >
20
- <property name =" server" ref =" server" />
20
+ <property name =" server" ref =" server" />
21
21
</bean >
22
22
23
23
</beans >
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ public InetSocketAddress getRemoteAddress() {
198
198
@ Nullable
199
199
protected SslInfo initSslInfo () {
200
200
X509Certificate [] certificates = getX509Certificates ();
201
- return certificates != null ? new DefaultSslInfo (getSslSessionId (), certificates ) : null ;
201
+ return ( certificates != null ? new DefaultSslInfo (getSslSessionId (), certificates ) : null ) ;
202
202
}
203
203
204
204
@ Nullable
@@ -208,8 +208,7 @@ private String getSslSessionId() {
208
208
209
209
@ Nullable
210
210
private X509Certificate [] getX509Certificates () {
211
- String name = "javax.servlet.request.X509Certificate" ;
212
- return (X509Certificate []) this .request .getAttribute (name );
211
+ return (X509Certificate []) this .request .getAttribute ("javax.servlet.request.X509Certificate" );
213
212
}
214
213
215
214
@ Override
You can’t perform that action at this time.
0 commit comments