private MutableContextPartitionConfiguration processPartition(
Partition partition) {
MutableContextPartitionConfiguration mcpc = new MutableContextPartitionConfiguration();
mcpc.setName(partition.getName());
mcpc.setSuffix(partition.getSuffix());
IndexedAttributes indexedAttributes = partition.getIndexedAttributes();
if (indexedAttributes != null) {
String attributeList[] = indexedAttributes
.getIndexedAttributeArray();
if (attributeList != null) {
Set set = new HashSet();
for (int i = 0; i < attributeList.length; i++) {
set.add(attributeList[i]);