221222223224225226227228229230231
} } synchronized (indexLock) { for (@SuppressWarnings("rawtypes") RiakIndex i : indexes) { b.addIndexes(RpbPair.newBuilder() .setKey(ByteString.copyFromUtf8(i.getName())) .setValue(ByteString.copyFromUtf8(i.getValue().toString())) .build()); } }