Skip to content

Commit 5afe4ef

Browse files
author
Simon MacMullen
committed
Genericise
1 parent ee3bc75 commit 5afe4ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/src/com/rabbitmq/examples/perf/Consumer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ public void run() {
119119
}
120120
}
121121

122-
private Map args(int prefetch) {
123-
Map a = new HashMap();
122+
private Map<String, Object> args(int prefetch) {
123+
Map<String, Object> a = new HashMap<String, Object>();
124124
if (prefetch != 0) {
125125
a.put("x-prefetch", prefetch);
126126
}

0 commit comments

Comments
 (0)