)]}'
{
  "commit": "f108d4fc7adc7ae8b1068069551bf8cba04f6bfc",
  "tree": "5621f6fcf2a6e5f79307a48e353d16fbb146cbde",
  "parents": [
    "9a20c3084e60ad5075541d87f6e0ffcd1faa89bf"
  ],
  "author": {
    "name": "Alex Blewitt",
    "email": "alex.blewitt@gmail.com",
    "time": "Sat Oct 24 20:58:20 2020 +0100"
  },
  "committer": {
    "name": "Alex Blewitt",
    "email": "alex.blewitt@gmail.com",
    "time": "Tue Oct 27 15:01:24 2020 +0000"
  },
  "message": "Bug 568153 - Suggest alternate uses of Platform.getBundle\n\n`Platform.getBundle(String)` provides a means to translate a String\nbundle identifier into a `Bundle` instance. It performs a reasonable\namount of work, including iterating through all bundles, filtering and\nother such processing.\n\nIt is generally more efficient, if you already have a class loaded by\nOSGi, is to use `FrameworkUtil.getBundle(Class)` instead. This performs\na near direct lookup, since the class\u0027 associated `ClassLoader` implicitly\nknows what the `Bundle` is.\n\nHowever, the majority of cases is to write an entry to the log, from\nwhich `Platform.getLog(Class)` is a much simpler implementation.\n\nAdd JavaDoc to introduce these patterns that may be of relevance to\ncallers instead.\n\nChange-Id: I6a8bb35446660391eccec69061a98958d1a833ad\nSigned-off-by: Alex Blewitt \u003calex.blewitt@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b4f7b79d60ba8bf074948810b6a383fbaee745f7",
      "old_mode": 33188,
      "old_path": "bundles/org.eclipse.core.runtime/META-INF/MANIFEST.MF",
      "new_id": "22a02212c501bd2e8aeb0b32f243563b7aec4872",
      "new_mode": 33188,
      "new_path": "bundles/org.eclipse.core.runtime/META-INF/MANIFEST.MF"
    },
    {
      "type": "modify",
      "old_id": "0fabc9015653302dcf023eb05f768112d946a4d5",
      "old_mode": 33188,
      "old_path": "bundles/org.eclipse.core.runtime/pom.xml",
      "new_id": "93d9dd2aec40ac3055bbb803bf82d551b463a528",
      "new_mode": 33188,
      "new_path": "bundles/org.eclipse.core.runtime/pom.xml"
    },
    {
      "type": "modify",
      "old_id": "f352abf3cdc85ace41210818e12775a6f74e0465",
      "old_mode": 33188,
      "old_path": "bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java",
      "new_id": "e9af481694e4a852689a8dc52e60442b50c7f391",
      "new_mode": 33188,
      "new_path": "bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java"
    }
  ]
}
