commit | d071f6db6f8663fe86b9a372def46efc5b0bfeb8 | [log] [tgz] |
---|---|---|
author | Andrey Loskutov <loskutov@gmx.de> | Tue Feb 07 15:21:05 2017 +0100 |
committer | Andrey Loskutov <loskutov@gmx.de> | Tue Feb 07 15:54:44 2017 +0100 |
tree | ec73bd6ecddb843ab83c26999fe6518c622d7863 | |
parent | 5193839d4e14e451dd457c43eb3c5b0ffc276a3c [diff] |
Bug 511841 - AdapterManager.getAdapter can return wrong type Added explicit type check for the values returned by IAdapterFactory instances. If the return value does not match the adapter type, throw AssertionFailedException with enough information who provided that faulty adapter. Change-Id: Ib527a7920250622055f93bb26855b2f52cc45743 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>