File tree 1 file changed +4
-3
lines changed
spring-web/src/main/java/org/springframework/http
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2020 the original author or authors.
2
+ * Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -237,8 +237,9 @@ public static BodyBuilder ok() {
237
237
}
238
238
239
239
/**
240
- * A shortcut for creating a {@code ResponseEntity} with the given body and
241
- * the status set to {@linkplain HttpStatus#OK OK}.
240
+ * A shortcut for creating a {@code ResponseEntity} with the given body
241
+ * and the status set to {@linkplain HttpStatus#OK OK}.
242
+ * @param body the body of the response entity (possibly empty)
242
243
* @return the created {@code ResponseEntity}
243
244
* @since 4.1
244
245
*/
You can’t perform that action at this time.
0 commit comments