)]}'
{
  "commit": "fe349b73989668cca67c67f034f1f6a913ffd1fd",
  "tree": "5208b9ee4c83f802739cc1902d0bcd6d2446176c",
  "parents": [
    "50c08eea1a69d74af7aa8115d87c16fcc6436046"
  ],
  "author": {
    "name": "Mark Hansen",
    "email": "markhansen@google.com",
    "time": "Mon Oct 07 18:00:37 2024 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Oct 07 18:04:38 2024 -0700"
  },
  "message": "Remove no-op byte \u0026 0xFF code from BinaryWriter\n\nhttps://docs.oracle.com/javase/specs/jls/se10/html/jls-5.html#jls-5.1.3\n\nThe JLS guarantees this is the same:\n\n\u003e A narrowing conversion of a signed integer to an integral type T simply discards all but the n lowest order bits, where n is the number of bits used to represent type T. In addition to a possible loss of information about the magnitude of the numeric value, this may cause the sign of the resulting value to differ from the sign of the input value.\n\nIn practice, Android\u0027s optimising compiler saw that this was unnecessary, and skipped generating \u0027and\u0027 instructions. So this isn\u0027t a performance boost, just a cleanup.\n\nPiperOrigin-RevId: 683395327\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4b6a06f75214b11efaed51a634cba3789c72aa58",
      "old_mode": 33188,
      "old_path": "java/core/src/main/java/com/google/protobuf/BinaryWriter.java",
      "new_id": "5726eff78fe8795c19da1085ffe812fd54e12797",
      "new_mode": 33188,
      "new_path": "java/core/src/main/java/com/google/protobuf/BinaryWriter.java"
    }
  ]
}
