PrefixEntry[] prefixEntries = result.getCommonPrefixes();
if (prefixEntries != null) {
log.debug("Found " + prefixEntries.length + " common prefixes in one batch");
}
for (int i = 0; prefixEntries != null && i < prefixEntries.length; i++ ) {
PrefixEntry entry = prefixEntries[i];
commonPrefixes.add(entry.getPrefix());
}
incompleteListing = result.isIsTruncated();
if (incompleteListing) {
if (result.getNextMarker() != null) {