)]}'
{
  "commit": "1c62a45f9f4aba4bca3a38e258e9b8f4e8ebb3b4",
  "tree": "781a60b05846206bdaa4bec5a863030c80de32c8",
  "parents": [
    "7eba89da103df5bf95232c2b8699ca7798563c89"
  ],
  "author": {
    "name": "Darius Jokilehto",
    "email": "dariusjokilehto+os@gmail.com",
    "time": "Fri May 26 11:48:28 2023 +0100"
  },
  "committer": {
    "name": "Darius Jokilehto",
    "email": "dariusjokilehto+os@gmail.com",
    "time": "Fri May 26 11:48:28 2023 +0100"
  },
  "message": "Fix reflective structural type access warning\n\n`ManagedResources` re-implemented `Using` [1] that has been in core\nsince 2.13. We can now make use of it as we previously bumped Scala to\n2.13.\n\nFixes the following warning:\n[warn] /home/darius/dev/gerritforge/analytics/src/main/scala/com/googlesource/gerrit/plugins/analytics/common/ManagedResources.scala:22:16: reflective access of structural type member method close should be enabled\n[warn] by making the implicit value scala.language.reflectiveCalls visible.\n[warn] ----\n[warn] This can be achieved by adding the import clause \u0027import scala.language.reflectiveCalls\u0027\n[warn] or by setting the compiler option -language:reflectiveCalls.\n[warn] See the Scaladoc for value scala.language.reflectiveCalls for a discussion\n[warn] why the feature should be explicitly enabled.\n[warn]       resource.close()\n[warn]                ^\n\n[1] https://www.scala-lang.org/api/2.13.10/scala/util/Using$.html\n\nChange-Id: If0ec4d5a47d254a8b51ca0ae324cc352279cf65b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d3adb33eec19fe5a800f08d5b15549dfb2098a9f",
      "old_mode": 33188,
      "old_path": "src/main/scala/com/googlesource/gerrit/plugins/analytics/Contributors.scala",
      "new_id": "880c5e17e3c95fc7de532cfc3349d97121e19f76",
      "new_mode": 33188,
      "new_path": "src/main/scala/com/googlesource/gerrit/plugins/analytics/Contributors.scala"
    },
    {
      "type": "modify",
      "old_id": "de45f801160c7f0115fd97cff1a8c8b949c7b4d0",
      "old_mode": 33188,
      "old_path": "src/main/scala/com/googlesource/gerrit/plugins/analytics/common/BranchesExtractor.scala",
      "new_id": "1725835942b64453557056ac073d6e23844a8a8a",
      "new_mode": 33188,
      "new_path": "src/main/scala/com/googlesource/gerrit/plugins/analytics/common/BranchesExtractor.scala"
    },
    {
      "type": "modify",
      "old_id": "782eb44122129168d8be76f4d59b9b0d6fac9958",
      "old_mode": 33188,
      "old_path": "src/main/scala/com/googlesource/gerrit/plugins/analytics/common/CommitsStatisticsLoader.scala",
      "new_id": "e4dbe11c27348919f9644db21490fab98ea070b2",
      "new_mode": 33188,
      "new_path": "src/main/scala/com/googlesource/gerrit/plugins/analytics/common/CommitsStatisticsLoader.scala"
    },
    {
      "type": "modify",
      "old_id": "004259ef28d5eb65513ac0dd77cdd7f3ee34ea14",
      "old_mode": 33188,
      "old_path": "src/main/scala/com/googlesource/gerrit/plugins/analytics/common/JsonStreamedResultBuilder.scala",
      "new_id": "de01b79ee68d6c7b9f5b4ca02e19ee7d4868c699",
      "new_mode": 33188,
      "new_path": "src/main/scala/com/googlesource/gerrit/plugins/analytics/common/JsonStreamedResultBuilder.scala"
    },
    {
      "type": "delete",
      "old_id": "5cf2b74ed767f084d1b3dc2cc3a6156c5886ff26",
      "old_mode": 33188,
      "old_path": "src/main/scala/com/googlesource/gerrit/plugins/analytics/common/ManagedResources.scala",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    }
  ]
}
