From e4283e2dc2bc2bfd142eedc5df36baaea6edc6da Mon Sep 17 00:00:00 2001 From: Aparajita Fishman Date: Mon, 11 Feb 2013 23:32:11 -0500 Subject: [PATCH] CPByteCountFormatterUseDefault doesn't need to be transformed, I'm checking for it in the code --- Foundation/CPByteCountFormatter.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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