Browse Source

clear code

Marino Faggiana 6 years ago
parent
commit
bed208154b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/Viewer/NCViewerMedia.swift

+ 2 - 2
iOSClient/Viewer/NCViewerMedia.swift

@@ -137,12 +137,12 @@ class NCViewerMedia: NSObject {
         }
     
         KTVHTTPCache.tokenSetURLFilter { (url) -> URL? in
-            print("URL Filter reviced URL : \(url!)")
+            print("URL Filter reviced URL : " + String(describing: url))
             return url
         }
         
         KTVHTTPCache.downloadSetUnsupportContentTypeFilter { (url, contentType) -> Bool in
-            print("Unsupport Content-Type Filter reviced URL : \(url!) \(contentType!)")
+            print("Unsupport Content-Type Filter reviced URL : " + String(describing: url) + " " + String(describing: contentType))
             return false
         }
     }