git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / t4018 / java-method-return-generic-wildcard
| 1 | class MyExample { |
| 2 | public List<? extends Comparable> foo(String[] RIGHT) { |
| 3 | someMethodCall(); |
| 4 | someOtherMethod() |
| 5 | .doThat(); |
| 6 | // Whatever... |
| 7 | return Arrays.asList("ChangeMe"); |
| 8 | } |
| 9 | } |