forked from jhudson/GeoGIT
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dead code in PushManager and atomically update refs in EndPush.
org.geogit.web.api.commands.PushManager had a multimap keyked by remote IP address whose values were supposedly all the object ids that have been pushed, but they were never used (nobody calls PushManager.addObject() ), and hance PushManager.alreadyPushed() is useless. Removed all the dead code and made it so that PushManager.connectionSucceeded(...) uses a geogit transaction to atomically update all the refs.
- Loading branch information
Showing
2 changed files
with
41 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters