Skip to content

Commit 0f41da3

Browse files
author
Steve Powell
committed
Finish removing private method (AMQConnection.buildTable()).
1 parent 5af3395 commit 0f41da3

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/com/rabbitmq/client/impl/AMQConnection.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -805,20 +805,4 @@ public void close(int closeCode,
805805
private String getHostAddress() {
806806
return getAddress() == null ? null : getAddress().getHostAddress();
807807
}
808-
809-
/**
810-
* Utility for constructing a java.util.Map instance from an
811-
* even-length array containing alternating String keys (on the
812-
* even elements, starting at zero) and values (on the odd
813-
* elements, starting at one).
814-
*/
815-
private static final Map<String, Object> buildTable(Object[] keysValues) {
816-
Map<String, Object> result = new HashMap<String, Object>();
817-
for (int index = 0; index < keysValues.length; index += 2) {
818-
String key = (String) keysValues[index];
819-
Object value = keysValues[index + 1];
820-
result.put(key, value);
821-
}
822-
return result;
823-
}
824808
}

0 commit comments

Comments
 (0)