Author: rgodfrey
Date: Tue Aug 2 15:36:25 2016
New Revision: 1754957
URL: http://svn.apache.org/viewvc?rev=1754957&view=rev
Log:
QPID-7318 : Address review comments from [~lorenz.quack]
Modified:
qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FixedKeyMapCreator.java
Modified:
qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FixedKeyMapCreator.java
URL:
http://svn.apache.org/viewvc/qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FixedKeyMapCreator.java?rev=1754957&r1=1754956&r2=1754957&view=diff
==============================================================================
---
qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FixedKeyMapCreator.java
(original)
+++
qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/util/FixedKeyMapCreator.java
Tue Aug 2 15:36:25 2016
@@ -227,7 +227,7 @@ public class FixedKeyMapCreator
try
{
final String key = _keys[_position];
- final String value = _keys[_position++];
+ final Object value = _values[_position++];
return new FixedKeyEntry(key, value);
}
catch (ArrayIndexOutOfBoundsException e)
@@ -248,9 +248,9 @@ public class FixedKeyMapCreator
private static class FixedKeyEntry implements Map.Entry<String, Object>
{
private final String _key;
- private final String _value;
+ private final Object _value;
- private FixedKeyEntry(final String key, final String value)
+ private FixedKeyEntry(final String key, final Object value)
{
_key = key;
_value = value;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]