)]}'
{
  "commit": "3e5520a963a23934978e70e1d217cde320d295a8",
  "tree": "c8179cc5f920366c533d62038fc7d9bfe7a9d610",
  "parents": [
    "301ca19b1f8498850cb991f635733de5d9233b36"
  ],
  "author": {
    "name": "Daniel Bentley",
    "email": "dbentley@google.com",
    "time": "Tue Oct 01 13:17:49 2013 -0400"
  },
  "committer": {
    "name": "Gerrit Code Review",
    "email": "noreply-gerritcodereview@google.com",
    "time": "Tue Oct 01 21:42:49 2013 +0000"
  },
  "message": "Change ArrayList.removeRange to not throw IOBE when from \u003d\u003d to \u003d\u003d size()\n\nThis is confusing behavior, but is an attempt to match Java\u0027s ArrayList.\n\nThe Javadoc says \"(If toIndex\u003d\u003dfromIndex, this operation has no effect.)\"\n\nJava 1.7.0 no-ops if fromIndex\u003d\u003dtoIndex \u0026\u0026 fromIndex \u003e\u003d 0 \u0026\u0026 fromIndex \u003c\u003d size\n\nBUT, Java 1.7.0 throws IOBE if fromIndex \u003d\u003d toIndex \u0026\u0026 (fromIndex \u003c 0 ||\n     fromIndex \u003e size)\n\nThe following code snippet illustrates the behavior:\n\npublic static void main(String[] args) {\n  ArrayList l \u003d new ArrayList();\n  l.add(\"item\");\n  l.removeRange(0,0); // Success\n  l.removeRange(1,1); // Success\n  l.removeRange(2,2); // Fail: throws IOBE\n}\n\nChange-Id: Ifb5d5998d8ddcab1a126107672e9a71f8b760fb9\nReview-Link: https://gwt-review.googlesource.com/#/c/4731/\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b061955769ac793a1fcc48c9743375549789c688",
      "old_mode": 33188,
      "old_path": "user/super/com/google/gwt/emul/java/util/ArrayList.java",
      "new_id": "ebb607adb31ecb4935642a028df25db714afcdc6",
      "new_mode": 33188,
      "new_path": "user/super/com/google/gwt/emul/java/util/ArrayList.java"
    },
    {
      "type": "modify",
      "old_id": "3bb2b862e9324852f73d4c84cf69eb9ae6ade5ce",
      "old_mode": 33188,
      "old_path": "user/test/com/google/gwt/emultest/java/util/ArrayListTest.java",
      "new_id": "a81d50227c4ddae03ef585a36fb4e3ce003ad1d8",
      "new_mode": 33188,
      "new_path": "user/test/com/google/gwt/emultest/java/util/ArrayListTest.java"
    }
  ]
}
