Skip to content

Type safety Warning on Result class #479

Open
@alallema

Description

@alallema

Description
Type safety is not applied when decoding the Result class throught the JSON handler in the method getKeys() and getTasks()

        Result<Key> result = httpClient.get(urlPath, Result.class, Key.class);
        Result<Task> result = httpClient.get(urlPath, Result.class, Task.class);

This warning is thrown:
Type safety: The expression of type Result needs unchecked conversion to conform to Result<Key>Java(16777748)

Notes
This issue should be implemented before the resolution of #420

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions