)]}'
{
  "commit": "1cd6d1ef061c2f8849012bdb8f83faedfa58779b",
  "tree": "8075c8cbcb89f930add5684294ff1619ab13eb64",
  "parents": [
    "9eea05d068a06ab642dd9d86d46ee5fa2e36b02e"
  ],
  "author": {
    "name": "lberki",
    "email": "lberki@google.com",
    "time": "Wed Jun 14 16:20:19 2017 +0200"
  },
  "committer": {
    "name": "Yun Peng",
    "email": "pcloudy@google.com",
    "time": "Fri Jun 16 09:24:20 2017 +0200"
  },
  "message": "Revamp JavaToolchain:\n\n- Rely on existing infrastructure to verify that attributes only contain a single artifact and that mandatory attributes are specified\n- Add single artifact modifiers to attributes that need them\n- Remove \"final\" modifiers from method variables (we don\u0027t use them in Blaze)\n- Replace deprecated #add() with #addProvider()\n\nSince this relies on existing infrastructure, I thought adding tests is redundant. I did test it manually, though, to be extra safe by testing what happens if these attributes contain an empty filegroup or a filegroup with multiple artifacts in it.\n\nRELNOTES: None.\nPiperOrigin-RevId: 158975017\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "02fb3e537ba912af35f01ef13302dfb19316019b",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java",
      "new_id": "e17ea79cec0626bee7b4a168de7c6530ebbc266a",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java"
    },
    {
      "type": "modify",
      "old_id": "5ed85eec9d17cc8c4f5cbe7332a833680a55e906",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/rules/java/JavaToolchain.java",
      "new_id": "a2068f637521cb56df811c60c9a88e8bb056f61b",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/rules/java/JavaToolchain.java"
    },
    {
      "type": "modify",
      "old_id": "a3115e393207b626763b17348cadec763c14076f",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/rules/java/JavaToolchainRule.java",
      "new_id": "5fabbdf6bd29b855df8b7ef9b6e2c861af89ce52",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/rules/java/JavaToolchainRule.java"
    }
  ]
}
