There are valid cases where a hook, invoked by ProtocolV2Hook and probably implemented in a different package, is interested in knowing the wanted refs in the request. Increase visibility to public in the wanted-ref method. Change-Id: I5da085ac7af4c396c1cb85e630f40a57fc70b33e Signed-off-by: Ivan Frade <ifrade@google.com>tags/v5.4.0.201905081430-m2
@@ -98,9 +98,11 @@ public final class FetchV2Request extends FetchRequest { | |||
/** | |||
* @return list of references received in "want-ref" lines | |||
* | |||
* @since 5.3 | |||
*/ | |||
@NonNull | |||
List<String> getWantedRefs() { | |||
public List<String> getWantedRefs() { | |||
return wantedRefs; | |||
} | |||