Skip to content

Commit 3faa7ca

Browse files
committed
Polishing
1 parent 3121daf commit 3faa7ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ public HttpHeaders getHeaders() {
209209
}
210210

211211
@Override
212+
@Nullable
212213
public Principal getPrincipal() {
213214
return this.servletRequest.getUserPrincipal();
214215
}
@@ -329,7 +330,6 @@ private final class AttributesMap extends AbstractMap<String, Object> {
329330
@Nullable
330331
private transient Set<Entry<String, Object>> entrySet;
331332

332-
333333
@Override
334334
public int size() {
335335
int size = 0;
@@ -464,4 +464,5 @@ public int size() {
464464
return entrySet;
465465
}
466466
}
467+
467468
}

0 commit comments

Comments
 (0)