}
Builder builder = DatastoreContext.newBuilderFrom(context);
- String dataStoreTypePrefix = context.getDataStoreType() + '.';
+ String dataStoreTypePrefix = context.getDataStoreName() + '.';
final String shardNamePrefix = forShardName + '.';
List<String> keys = getSortedKeysByDatastoreType(currentProperties.keySet(), dataStoreTypePrefix);
Builder builder = DatastoreContext.newBuilderFrom(context);
- final String dataStoreTypePrefix = context.getDataStoreType() + '.';
+ final String dataStoreTypePrefix = context.getDataStoreName() + '.';
List<String> keys = getSortedKeysByDatastoreType(Collections.list(properties.keys()), dataStoreTypePrefix);
return updated;
}
- private ArrayList<String> getSortedKeysByDatastoreType(Collection<String> inKeys,
+ private static ArrayList<String> getSortedKeysByDatastoreType(Collection<String> inKeys,
final String dataStoreTypePrefix) {
// Sort the property keys by putting the names prefixed with the data store type last. This
// is done so data store specific settings are applied after global settings.