• Mihhail Lapushkin's avatar
    Fix JsonContentAssert type safety warnings · ae91c846
    Mihhail Lapushkin authored
    Previously, JsonContentAssert returns AbstractMapAssert from
    extractingJsonPathMapValue. This could lead to type safety warnings
    when calling one of the assert's methods with a generic varargs
    parameter such as
    contains(Entry<? extends Object, ? extends Object>...).
    
    This commit replaces the use of both AbstractMapAssert and
    AbstractListAssert with MapAssert and ListAssert respectively. These
    classes use final methods and @SafeVargs args to prevent the
    above-described problem from occurring.
    
    See gh-9675
    ae91c846
Name
Last commit
Last update
..
src Loading commit data...
pom.xml Loading commit data...