private void commitInternal() throws IOException {
if (this.localStates.isEmpty()) {
return;
}
WFSClient wfs = dataStore.getWfsClient();
TransactionRequest transactionRequest = wfs.createTransaction();
List<MutableFeatureId> requestedInsertFids = new ArrayList<MutableFeatureId>();
for (Name typeName : localStates.keySet()) {
List<MutableFeatureId> addedFids = applyDiff(typeName, transactionRequest);