Remove unnecessary public method (#2622)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This commit is contained in:
parent
6eee5ba4ae
commit
3423c008a4
|
|
@ -58,7 +58,7 @@ abstract class ImmutableStatusData implements StatusData {
|
||||||
* @param description the new description of the {@code Status}.
|
* @param description the new description of the {@code Status}.
|
||||||
* @return The newly created {@code Status} with the given description.
|
* @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) {
|
if (description == null) {
|
||||||
return codeToStatus.get(statusCode);
|
return codeToStatus.get(statusCode);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue