)]}'
{
  "commit": "1fc1b6a6a51ea0210f0b224bd8cd48409163186f",
  "tree": "f977d3a68ec6e7a4a30cdbed784d3d24adf40326",
  "parents": [
    "d3cb4ca519f1f7372aa35ea356d2a7fb48865b1b"
  ],
  "author": {
    "name": "Nasser Grainawi",
    "email": "nasser@codeaurora.org",
    "time": "Fri Jul 31 11:22:02 2020 -0600"
  },
  "committer": {
    "name": "Nasser Grainawi",
    "email": "nasser@codeaurora.org",
    "time": "Wed Aug 12 11:02:35 2020 -0600"
  },
  "message": "TasksStorage: Replace delete() with start()+finish() in tests\n\nDuring the merge of stable-3.0, the delete() method was re-added [1]\nto fix a test that relied upon it. Instead, that test should have been\nupdated to use the start() and finish() methods that are part of the\npublic API for ReplicationTasksStorage.\n\nTo facilitate that update, modify the start(), reset(), and finish()\nmethods to not require a PushOne object. These methods can instead\nuse a new interface that PushOne already can implement without\nfunctional changes. This interface avoids duplicate code in\nReplicationTasksStorage.\n\n[1] https://gerrit-review.googlesource.com/c/plugins/replication/+/273660/-1..4/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationTasksStorage.java\n\nChange-Id: Id82d2ec3125075832134c8dbe56b342e5a874bbc\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "634f44dbd3966c0d453688252ae0ebf45bad0e2f",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java",
      "new_id": "b53bf6969833107977e1a7c8a2baf4dc748ecf3e",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java"
    },
    {
      "type": "modify",
      "old_id": "370d48b7b4dceca5b17258aab6a0aed648ca92ba",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationTasksStorage.java",
      "new_id": "d697d110a97ab35455c5adb751c4fde82ea5b693",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationTasksStorage.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d6d6adf688f4c06237ec0fe7879c759b8a91db7b",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/replication/UriUpdates.java"
    },
    {
      "type": "modify",
      "old_id": "31cd75de8c2ca2d6cb3932cdd3d148f3aa6a82c6",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationIT.java",
      "new_id": "106078051142aa005c20d9767def3d00565a3105",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationIT.java"
    },
    {
      "type": "modify",
      "old_id": "38d5421a37c5e9a4d4a3768597f9d84e6bed4245",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationTasksStorageTest.java",
      "new_id": "5b8a05a2da3b7867c1bfc7bfcd15d79cd9930436",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/ReplicationTasksStorageTest.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2fd3ee3c1efdddcd1b9f11475334b6092ecf6c14",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/replication/TestUriUpdates.java"
    }
  ]
}
