Skip to content
Snippets Groups Projects
Commit 4fad9087 authored by Lars Erik Blümke's avatar Lars Erik Blümke
Browse files

Merge branch 'lbl-sink-migration' into jmsReaderTest

parents 9ef640bc 1ab865a3
No related branches found
No related tags found
No related merge requests found
......@@ -201,8 +201,11 @@ final class AMQPTestWriter {
System.arraycopy(localBuffer.array(), localBuffer.arrayOffset(), data, 0, dataSize);
// Create and send registry records to the reader
// BUG: stringRegistry.getAll() does not return String[] as expected. Instead Object[] is
// returned which is why I used the additional String variable entryStr.
// Still results in an ClassCastException in Jenkins (however this exception does not occur in Eclipse).
for (Object entry : stringRegistry.getAll()) {
String entryStr = (String) entry;
String entryStr = entry.toString();
registryRecord = new RegistryRecord(stringRegistry.get(entryStr), entryStr);
consume(registryRecord);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment