ConnectionInformation[] connections = db.getBroker().getConnectionInformation();
InstanceInfo[] result = new InstanceInfo[connections.length];
for ( int i = 0; i < result.length; i++ )
{
ConnectionInformation connection = connections[i];
<BUG>result[i] = new InstanceInfo( connection.getJMXServiceURL(),
</BUG>
connection.getInstanceId(), connection.getMachineId(),
connection.isMaster(), connection.getLastCommitedTransactionId() );
}

ConnectionInformation[] connections = db.getBroker().getConnectionInformation();
InstanceInfo[] result = new InstanceInfo[connections.length];
for ( int i = 0; i < result.length; i++ )
{
ConnectionInformation connection = connections[i];
result[i] = new InstanceInfo( connection.getJMXServiceURL().toString(),
connection.getInstanceId(), connection.getMachineId(),
connection.isMaster(), connection.getLastCommitedTransactionId() );
}
