)]}'
{
  "commit": "13e22ce84be85bcb46b6f877cbc67c2b2bfbd16b",
  "tree": "95d091d7db726c49acbeb45f3020104f41ded259",
  "parents": [
    "28d88d1972afc3651b9ff9c7f1e27aa750e42832"
  ],
  "author": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Thu Aug 31 21:41:40 2023 +0200"
  },
  "committer": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Fri Sep 01 12:46:45 2023 +0200"
  },
  "message": "Leverage ShutdownState in SourcesCollection\n\nSourcesCollection uses a `shuttingDown` boolean variable to check\nwhether the configuration should be reloaded.\n\nUpdates to the `shuttingDown` variable are done within a synchronized\nblock, so ensure only one thread at a time can access it.\n\nSince change Ic672c7df5 introduced the `ShutdownState` singleton\nhowever, that should be used to signal and check the shutdown state\nof the plugin.\n\nNote that the `ShutdownState` also properly sets the state in a\nthread-safe manner, as an equivalent replacement for the syncrhonized\nblock.\n\nChange-Id: I1022d46f37a89f94fa70721daccf8436617cdfad\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7be4971e17ba59cdd7946447efb46f15c4629ad2",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourcesCollection.java",
      "new_id": "3d8af69cb1fff6cbf9cccce729ba4d1856777362",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourcesCollection.java"
    }
  ]
}
