Update ProtocolDetectionResult to fix typo (#10086)
Motivation: Correct a typo. Modification: Changed a name of a private constant variable, 'NEEDS_MORE_DATE' to 'NEEDS_MORE_DATA' Result: Cleanup
This commit is contained in:
parent
7eadca1eeb
commit
3537dc79b9
@ -25,7 +25,7 @@ import static java.util.Objects.requireNonNull;
|
||||
public final class ProtocolDetectionResult<T> {
|
||||
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
private static final ProtocolDetectionResult NEEDS_MORE_DATE =
|
||||
private static final ProtocolDetectionResult NEEDS_MORE_DATA =
|
||||
new ProtocolDetectionResult(ProtocolDetectionState.NEEDS_MORE_DATA, null);
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
private static final ProtocolDetectionResult INVALID =
|
||||
@ -39,7 +39,7 @@ public final class ProtocolDetectionResult<T> {
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <T> ProtocolDetectionResult<T> needsMoreData() {
|
||||
return NEEDS_MORE_DATE;
|
||||
return NEEDS_MORE_DATA;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user