)]}' { "commit": "17687f9ade0c89f16db70be14e338b725cc05795", "tree": "41c5eca87c343963fd02c685a98fb06b4693ada5", "parents": [ "6515b4eeefb36c77942ba8567e3878e6e77228a0" ], "author": { "name": "David Pursehouse", "email": "david.pursehouse@sonymobile.com", "time": "Wed Jan 20 14:59:56 2016 +0900" }, "committer": { "name": "David Pursehouse", "email": "david.pursehouse@sonymobile.com", "time": "Wed Jan 20 15:35:48 2016 +0900" }, "message": "Fix NPE in tests\n\nBackupRef.get() is failing because the static cfg member is null.\n\nAs a workaround, make getTimestampBranch public and use that\ndirectly. Since there are no tests for non-timestamp implementation\nyet anyway, this should be OK.\n\nTests for the non-timestamp implementation, and correction in the\nimplementation of get() can be added in a follow-up commit.\n\nChange-Id: I644db55f5c1cb043479ca3ea9b10b3b3c642a069\n", "tree_diff": [ { "type": "modify", "old_id": "1f257bf7b7efd9e693e9c2a1cbd32fa7c0ab9e1d", "old_mode": 33188, "old_path": "src/main/java/com/googlesource/gerrit/plugins/refprotection/BackupRef.java", "new_id": "33a642aff58e97e66ebcbd70c35ae443e954feac", "new_mode": 33188, "new_path": "src/main/java/com/googlesource/gerrit/plugins/refprotection/BackupRef.java" }, { "type": "modify", "old_id": "d38f3b5b01298c67c8f5570d54884bca9fb5c859", "old_mode": 33188, "old_path": "src/test/java/com/googlesource/gerrit/plugins/refprotection/BackupRefNameTest.java", "new_id": "168a7231c437d3117944dacbd43e13b7097e6f89", "new_mode": 33188, "new_path": "src/test/java/com/googlesource/gerrit/plugins/refprotection/BackupRefNameTest.java" } ] }