Issue #1535 Fix GFE saving last block of grids twice

Change-Id: I3411e27c96b5f0dd79c24e7ba75361582cb6652c

Former-commit-id: c070b55324 [formerly ed7784818a] [formerly aa2c0ffb60] [formerly 5738910b71 [formerly aa2c0ffb60 [formerly 16eedd6d46196d08d02abc674c81ed95c403457c]]]
Former-commit-id: 5738910b71
Former-commit-id: 9ad86a93f01dfa8394e229e86a96b7f7e7dcd020 [formerly d61a24410a]
Former-commit-id: 670f23e1c2
This commit is contained in:
Ron Anderson 2013-01-28 17:52:24 -06:00
parent c1ed23241b
commit 5ffbbdd699

View file

@ -623,6 +623,7 @@ public class DbParm extends Parm {
success &= allSaved; success &= allSaved;
} }
// if any pending saves // if any pending saves
if (sgr.size() > 0) { if (sgr.size() > 0) {
if (doSave(sgr)) { if (doSave(sgr)) {
@ -632,13 +633,7 @@ public class DbParm extends Parm {
} else { } else {
success = false; success = false;
} }
} pendingUnlocks.clear();
// if any pending saves
if (sgr.size() > 0) {
if (!doSave(sgr)) {
success = false;
}
} }
if (success) { if (success) {