This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
Avoid unnecessary force-unwrapping or nil-coalescing #138
Labels
alternative approaches
Alternative approaches Proposals for solutions that differ from current implementations
There is a lot of unnecessary force-unwrapping or nil-coalescing in the code, e. g.:
cwa-app-ios/src/xcode/ENA/ENA/Source/Developer Menu/DMSubmissionStateViewController.swift
Line 120 in e4a9d32
or
cwa-app-ios/src/xcode/ENA/ENA/Source/Workers/Hasher.swift
Line 24 in e4a9d32
The conversion from
String
to UTF-8 encodedData
cannot fail. A non-optional conversion can be done:The text was updated successfully, but these errors were encountered: