diff --git a/Signal/src/Models/SignalAttachment.swift b/Signal/src/Models/SignalAttachment.swift index b34dd353e..aa0c97bf3 100644 --- a/Signal/src/Models/SignalAttachment.swift +++ b/Signal/src/Models/SignalAttachment.swift @@ -62,7 +62,6 @@ class SignalAttachment: NSObject { let dataSource: DataSource - // TODO: Rename public var data: Data { return dataSource.data() } diff --git a/SignalServiceKit/src/Util/DataSource.h b/SignalServiceKit/src/Util/DataSource.h index c9bd3b171..fca39c480 100755 --- a/SignalServiceKit/src/Util/DataSource.h +++ b/SignalServiceKit/src/Util/DataSource.h @@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN // // Will only return nil in the error case. // -// TODO: Try to remove the parameter. +// TODO: Try to remove this parameter. - (nullable NSURL *)dataUrl; // The file path for the data. @@ -29,7 +29,7 @@ NS_ASSUME_NONNULL_BEGIN // // Will only return nil in the error case. // -// TODO: Try to remove the parameter. +// TODO: Try to remove this parameter. - (nullable NSString *)dataPath; // The file path for the data, if it already exists on disk.