summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/generics_wildcard.java
blob: 358e333b8d4f0d1e01abfb5b1ab27f3cb77bd677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
public class TestClass {
    private Map< ? , ? > map1 = null;
    private Map< ? , ? > map2 = null;
    private Map< ? , ? > map3 = null;

    public static HttpUriRequest getHttpUriRequest(TestClassAPIRequestMethod method, String apiPath) {
        switch (method) {
        case BOTTOM_LEFT:
            break;
        case GET:
            req = new HttpGet(url);
            break;
        case POST:
            req = new HttpPost(url);
            break;
        case PUT:
            req = new HttpPut(url);
            break;
        case DELETE:
            req = new HttpDelete(url);
            break;
        }
        return req;
    }
}