Skip to content

Commit

Permalink
add supress fb warning for removeDisk (false positive -> injected dat…
Browse files Browse the repository at this point in the history
…abaseFacade is checked on null twice)
  • Loading branch information
KirillMakarov committed Sep 12, 2017
1 parent 9204b26 commit 0264d38
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class DeleteService : IntentService("delete_service") {

}

@SuppressFBWarnings(value = "RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE")
private fun removeFromDisk(step: Step?) {
step?.block?.video?.let {
val path = databaseFacade.getPathToVideoIfExist(it)
Expand Down

0 comments on commit 0264d38

Please sign in to comment.