commit | 223b5cc3716688147401d22305c57ce96f18e557 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Sat Jan 07 00:59:44 2023 +0000 |
committer | Maciej Żenczykowski <maze@google.com> | Sat Jan 07 01:00:18 2023 +0000 |
tree | 2015634c176b39bb290c304adf07738b6f70fa03 | |
parent | 4f46dd8d7846fb399d376e348bf153e175499b20 [diff] |
fix argument to CloseGuard.open() Based on documentation, String parameter to CloseGuard.open() should be the name of the method to close the resource (in this case Resource.close()). As currently written, the debug output from warnIfOpen() will be "Resource failed to call constructor." Bug: 131838407 Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I9b8a71f9076712014bb883bbde5e5fbdb018b2d5