mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Remove redundant method
This commit is contained in:
1 parent
e089b9b435
commit
044313db59
1 file changed
+1
-6
Vendored
+1
-6
@@ -117,7 +117,7 @@
|
||||
+ (SUAppcast *)filterSupportedAppcast:(SUAppcast *)appcast phasedUpdateGroup:(NSUInteger)phasedUpdateGroup inBackground:(BOOL)background
|
||||
{
|
||||
return [appcast copyByFilteringItems:^(SUAppcastItem *item) {
|
||||
return (BOOL)[[self class] hostSupportsItem:item phasedUpdateGroup:phasedUpdateGroup inBackground:background];
|
||||
return (BOOL)([[self class] itemOperatingSystemIsOK:item] && [[self class] itemIsReadyForPhasedRollout:item phasedUpdateGroup:phasedUpdateGroup inBackground:background]);
|
||||
}];
|
||||
}
|
||||
|
||||
@@ -142,11 +142,6 @@
|
||||
return item;
|
||||
}
|
||||
|
||||
+ (BOOL)hostSupportsItem:(SUAppcastItem *)ui phasedUpdateGroup:(NSUInteger)phasedUpdateGroup inBackground:(BOOL)background
|
||||
{
|
||||
return [[self class] itemOperatingSystemIsOK:ui] && [[self class] itemIsReadyForPhasedRollout:ui phasedUpdateGroup:phasedUpdateGroup inBackground:background];
|
||||
}
|
||||
|
||||
+ (BOOL)itemOperatingSystemIsOK:(SUAppcastItem *)ui
|
||||
{
|
||||
BOOL osOK = [ui isMacOsUpdate];
|
||||
|
||||
Reference in new issue
Block a user