diff --git a/Foundation/CPByteCountFormatter.j b/Foundation/CPByteCountFormatter.j index cc5e073ce..0d04b4c34 100644 --- a/Foundation/CPByteCountFormatter.j +++ b/Foundation/CPByteCountFormatter.j @@ -269,8 +269,8 @@ var CPByteCountFormatterUnits = [ @"bytes", @"KB", @"MB", @"GB", @"TB", @"PB" ]; - (void)setAllowedUnits:(int)allowed { - // CPByteCountFormatterUseDefault is equivalent to UseAll - _allowedUnits = allowed ? allowed : CPByteCountFormatterUseAll; + // Note: CPByteCountFormatterUseDefault is equivalent to UseAll + _allowedUnits = allowed; } - (BOOL)includesCount