Review 10.4 Abandoned

70256[BUGFIX] Correct return type for FileReference methods

Anja Leichsenring CR 0 V 0 Easy +30 −3 updated 08/23/21, 15:59

Commit message

The @return annotation for the following FileReference methods is set
to "string", but these methods can also return null:

- getTitle()
- getAlternative()
- getDescription()

To avoid problems with code quality tools and to ensure type
safety the return value of these methods is always casted to a
string.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2