summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/generics_wildcard.java
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/generics_wildcard.java')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/generics_wildcard.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/generics_wildcard.java b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/generics_wildcard.java
new file mode 100644
index 00000000..358e333b
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/generics_wildcard.java
@@ -0,0 +1,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;
+ }
+}