Remove unnecessary public method (#2622)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This commit is contained in:
Bogdan Drutu 2021-01-31 19:24:27 -08:00 committed by GitHub
parent 6eee5ba4ae
commit 3423c008a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ abstract class ImmutableStatusData implements StatusData {
* @param description the new description of the {@code Status}.
* @return The newly created {@code Status} with the given description.
*/
public static StatusData create(StatusCode statusCode, @Nullable String description) {
static StatusData create(StatusCode statusCode, @Nullable String description) {
if (description == null) {
return codeToStatus.get(statusCode);
}